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()

19th Sep 2022, 2:36 PM
Divanisha Bhowmick
Divanisha Bhowmick - avatar
2 Antworten
+ 2
Divanisha Bhowmick Do not write anything in input function
19th Sep 2022, 2:45 PM
A͢J
A͢J - avatar
+ 1
Thanks it worked
19th Sep 2022, 2:53 PM
Divanisha Bhowmick
Divanisha Bhowmick - avatar