+ 10
weight = float(intput) #an extra `t` in input a = weight/(height *2) # missing an `*` for exponentiation if a<18: #18.5 if a<=18.5 and a>25: # conditions should be like this a>=18.5 and a<25: Finally, output variables should be matched with expected output #Underweight, Overweight....
17th Jul 2021, 8:21 AM
Simba
Simba - avatar
+ 5
There are many mistakes in your solution. Please check each line. weight= float (input()) height= float (input()) a= weight /(height**2) if a<18.5: print ("Underweight ") elif a>=18.5 and a<25: print ("Normal") elif a>=25 and a<30: print ("Overweight" ) else : print ("Obesity")
17th Jul 2021, 8:02 AM
Simba
Simba - avatar
+ 5
AnKiT KuMaR अनुपयुक्त भाषा - गाली गलौज यहाँ मना है
19th Jul 2021, 1:29 AM
BroFar
BroFar - avatar
+ 4
17th Jul 2021, 6:12 PM
Swetha Lakshme S
Swetha Lakshme S - avatar
+ 2
Can you show me a 1 or 2
17th Jul 2021, 8:07 AM
ajay Vadranam
ajay Vadranam - avatar
+ 2
Please try this on it might work! weight = int(input()) height = float(input()) BMI = ( weight/height**2) if BMI <18.5:print("Underweight") else: if BMI >= float(18.5) and BMI<25: print("Normal") else: if BMI >= 25 and BMI< 30: print("Overweight") else: if BMI>=30: print("Obesity")
18th Jul 2021, 5:24 PM
Shubham Mondal
Shubham Mondal - avatar
+ 1
weight= float (intput()), <--- this one is one of them
17th Jul 2021, 8:12 AM
JRAMAHES
JRAMAHES - avatar
+ 1
Ya I got thank you guys for the help 😍
17th Jul 2021, 8:39 AM
ajay Vadranam
ajay Vadranam - avatar
+ 1
You are doing a great help for the beginnings
17th Jul 2021, 8:39 AM
ajay Vadranam
ajay Vadranam - avatar
0
weight= float (intput()) height= float (input()) a= weight /(height*2) if a<18: print ("under weight ") elif a<=18 and a>25: print ("normal") elif a<=25 and a>30: print ("over weight" ) else : print ("obesity")
17th Jul 2021, 7:49 AM
ajay Vadranam
ajay Vadranam - avatar
0
I couldn't just identify them
17th Jul 2021, 8:08 AM
ajay Vadranam
ajay Vadranam - avatar
0
Thanku For ur concern Swetha Lakshme S I have successfully completed the code
17th Jul 2021, 6:12 PM
ajay Vadranam
ajay Vadranam - avatar
0
nice
18th Jul 2021, 6:19 PM
Muh Nur Rizky
Muh Nur Rizky - avatar
0
Wohh
19th Jul 2021, 7:11 AM
Sachin Sharma
Sachin Sharma - avatar
- 2
<redacted>
18th Jul 2021, 8:13 PM
Ankit Kumar
Ankit Kumar - avatar