+ 1
I have a problem in Python. Plz help
Weight=int(input()) Height=float(input ()) x=Weight/(Height **2) if float(x<18.5): print("Underweight" ) elif float(x>=18.5 and x<25): print("Normal") elif float(x>=25 and x<30): print("Overweight") elif float(x>30): print("Obesity")
6 ответов
+ 3
I am not a Programmer aah!! a vivid indentation error can be seen in your code..
And hoping these issues will fade away with times.
Recommending you mine for better clearance..
https://code.sololearn.com/cP3QyVC9VM9K/?ref=app
Hope, it will help you 👍👍
+ 1
Weight=int(input())
Height=float(input ())
x=Weight/(Height **2)
if (x<18.5):
print("Underweight" )
elif float(x>=18.5 and x<25):
print("Normal")
elif (x>=25 and x<30):
print("Overweight")
elif (x>30):
print("Obesity")
0
Iz it right now?
0
Thanks Bro