Can any one tell me what's wrong with my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can any one tell me what's wrong with my code

Solving problems on BMI calculator and my one test case is fail https://code.sololearn.com/cmh1WDB4725v/?ref=app

2nd May 2021, 12:55 PM
Sachin Kumar
Sachin Kumar - avatar
3 Answers
+ 6
"Overwieght" ^ Change it to "Overweight".
2nd May 2021, 1:09 PM
Pranav Kalro
Pranav Kalro - avatar
+ 2
Thanks pranav it's work I have wasted my many time just finding the error and it's just spelling mistake
2nd May 2021, 1:27 PM
Sachin Kumar
Sachin Kumar - avatar
0
Hi sachin, The problem that you may be facing is that you should go to top right corner menu of the code ui and select slim ui for better ouput display. The 2nd problem is tabs in your code. You should leave at least 4 space tab after each if else statement. Hope after this your code will work!
2nd May 2021, 1:11 PM
Avatar
Avatar - avatar