+ 1
hi friends, could you help me figure out what's wrong with this code? It's the 23rd python exercise for beginners
This is my code https://code.sololearn.com/cBD11T6RjC3b/?ref=app
2 Respuestas
+ 2
You didn't convert the height from centimetres (input units I gave) to meters(which is the unit used in the formula you used). Here's your code fixed
https://code.sololearn.com/cv4Zu572nCJp/?ref=app
Also, the correct spelling for hight is height =)
+ 2
Your code ignores bmi values between 24.9 and 25 as well as between 29.9 and 30. Also "Normal", "Overweight", and "Obesity" have to start with a capital letter to pass the solo learn test cases.