Why this is an error? | Sololearn: Learn to code for FREE!


Why this is an error?

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

1/23/2022 12:09:00 AM


2 Answers

New Answer


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"


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