0
6 th line incorrect?🙄☹️
x = int(input()) y = int(input()) i = x/y**2 if i>18.5: print ("underweight") elif = i=>18.5 and i<25: print ("normal") elif = i=>25 and i<30: print ("overweight")
3 Antworten
+ 3
# Learn about indentation in python :
if i>18.5:
print ("underweight")
elif i >=18.5 and i<25:
print ("normal")
elif i>=25 and i<30:
print ("overweight")
# Codeomaniac it must be >= just, (not i = i=>18...)
0
https://www.sololearn.com/discuss/333866/?ref=app