- 3

I make a project in python of BMI calculator but it not works all 5 test cases are wrong

I share my code below : https://code.sololearn.com/cmaUzEA6SVnD/?ref=app

9th May 2021, 11:38 AM
Devender Singh Rajpurohit
16 Answers
- 1
have you sorted out your mistakes?
10th May 2021, 7:03 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
- 2
No. Delete first line print, delete msg from input, delete msg from output. Your Output must output only: Normal, Underweight, Obesity... etc.
9th May 2021, 12:34 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
- 2
have you considered all the mass index answers?
9th May 2021, 1:55 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
- 2
I not able to pass test i try so many times but i not get right answer In project out of 5 test cases 3 right but 2 wrong https://code.sololearn.com/cw6xb5u76t5F/?ref=app
10th May 2021, 2:37 AM
Devender Singh Rajpurohit
- 2
Yes
10th May 2021, 7:04 AM
Devender Singh Rajpurohit
9th May 2021, 11:39 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
- 3
Ananiya Jemberu What is the role of f
9th May 2021, 11:44 AM
Devender Singh Rajpurohit
- 3
To include variable inside string
9th May 2021, 11:45 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
- 3
the program you have most likely written correctly, but to pass the tests, you should adhere to strict requirements for the output of the answer
9th May 2021, 11:46 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
- 3
Yaroslav Vernigora Can you share the code for pass test
9th May 2021, 11:48 AM
Devender Singh Rajpurohit
- 3
no, but I can hold your hand. do you agree?
9th May 2021, 11:54 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
9th May 2021, 11:56 AM
Devender Singh Rajpurohit
- 3
1. height and weight - dont directly insert values there. make them as python input. the test program itself will substitute the values there. we want to pass all five tests, right? and you only have a program designed for one option 2. the body mass index values are much higher than in your program. if I'm not mistaken, there are at least four of them. specify them in your program as well
9th May 2021, 12:05 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
9th May 2021, 12:30 PM
Devender Singh Rajpurohit
9th May 2021, 1:50 PM
Devender Singh Rajpurohit
9th May 2021, 1:54 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar