6 th line incorrect?🙄☹️ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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")

1st Feb 2022, 2:06 PM
Humoyun Abdullayev
Humoyun Abdullayev - avatar
3 Answers
+ 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...)
1st Feb 2022, 2:22 PM
Jayakrishna 🇮🇳
0
https://www.sololearn.com/discuss/333866/?ref=app
1st Feb 2022, 2:10 PM
Scarlet Witch
Scarlet Witch - avatar