0
Why it doesn't work???
Second input doesn't work https://code.sololearn.com/cnwT966sU7Y8/?ref=app
2 Answers
+ 6
ā¢į į„²ŹĪŗĶ¢ā¢Óį“ĶĶÉŖĶĶŌĶĶŹĶĶį“]ā¢ ,
you should use only one if... elif... .... else... statement, and all of them have to be on the same indentation level to the very left position.
it would also be more logic to start with: if x<18.5:
also check all conditions if they match the defined requirement from the task description.
+ 1
Maybe it works if you unindent the second if, the elif and the else.
The second input works but at Sololearn you do all your input in one go (on seperate lines).