Why this is an error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Why this is an error?

Why this code is not running https://code.sololearn.com/c84m23ovCEQS/?ref=app

23rd Jan 2022, 12:09 AM
Suman
Suman - avatar
2 Answers
+ 3
If you're trying to submit this for bmi project, it's not necessary to add input prompt messages. w = float(input()) h = float(input()) Also, o should be uppercase in "Obesity"
23rd Jan 2022, 1:49 AM
Simba
Simba - avatar
+ 2
Hello Suman Your code seems to work but maybe you have troubles with multiple input. On sololearn you need to enter all values at the beginning. enter weight, enter height, click submit in this form: 50.0 [enter] 1.60 output: Normal
23rd Jan 2022, 12:16 AM
Denise Roßberg
Denise Roßberg - avatar