0
Why there is syntax error here but not in jupyter
#your code goes here weight=int(input("Enter your weight in kgs:")) height=float(input("Enter your height in mtrs:") BMI = weight/height**2 if BMI<18.5: print("Underweight") elif (BMI>=18.5) and (BMI<25): print ("Normal") elif(BMI>=25) and (BMI<30): print ("Overweight") elif(BMI>30): print("Obesity") else: print()
2 Answers
+ 2
Divanisha Bhowmick
Do not write anything in input function
+ 1
Thanks it worked