0

Can someone help me with the BMI calculator project in Beginners Python?

Just looking for someone to help me figure out what I'm doing wrong. I'm kind of a newbie and some guidance would be greatly appreciated! Thanks in advance! https://code.sololearn.com/cpVgM4pMJ440/?ref=app

6th Dec 2021, 4:04 PM
Tyler Berryman
7 Answers
+ 3
1. Because while statement has nothing to do with elif, you should use instead if statement. 2. Why you convert weight input to an integer.
6th Dec 2021, 4:10 PM
JaScript
JaScript - avatar
+ 2
See yu have made many mistakes in it https://code.sololearn.com/cYs21Ik77WTb/?ref=app
6th Dec 2021, 4:08 PM
Ananya | Inactive |
Ananya | Inactive | - avatar
+ 1
Thanks for all the help, i will return with an updated and hopefully successful code!
6th Dec 2021, 4:29 PM
Tyler Berryman
+ 1
6th Dec 2021, 4:57 PM
Tyler Berryman
0
Including ') in Obese And also formula is weight / height ²
6th Dec 2021, 4:11 PM
Ananya | Inactive |
Ananya | Inactive | - avatar
0
Code in not full. Truncated. First declared variables and values then use those in finding calculations. Otherwise undefined error. It's if-else blocks you need, ( while is a loop term) And finally check the formula again for it's correctness. and words spell check with capitalizations in output like ex : obesity or Obesity
6th Dec 2021, 4:12 PM
Jayakrishna 🇮🇳