I need BMI calculator with python language | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need BMI calculator with python language

Help me

25th Dec 2022, 10:22 PM
Berba Malek
Berba Malek - avatar
2 Answers
+ 2
What exactly do you struggle with and where do you need help? You can look at my code below, which is all explained. This might help you to see where you struggle or went wrong. If you still struggle, or don't understand — reach out. https://code.sololearn.com/cfyn2MRebToR/?ref=app
25th Dec 2022, 11:08 PM
Lamron
Lamron - avatar
0
you need to take weight and height as float inputs you need to calculate the bmi which is weight divided by height squared you need to compare the bmi to the range of numbers given and print a statement based on what the bmi is (I suggest using if, elif, else for that part)
29th Dec 2022, 7:41 AM
Alexander Kerr
Alexander Kerr - avatar