Posts by orbitB374 • 19 points
2 posts
-
-1
votes1
answer43
viewsQ: How to give the same answer to different possible user entries
I made this code to try to get different types of user response options, for example if I answer "good morning" or "GOOD DAY" in both I can get the same output: print('Olá! Sou Maria, fale comigo!')…
-
-1
votes1
answer53
viewsQ: Why when I inform "1.93" gives error when converting to integer?
print('Calculadora de IMC') peso = input('Insira o seu peso (em kg): ') altura = input('Insira sua altura (em metros): ') IMC = int(peso) / int(altura)**2 When I set the height value to "1.93" an…