Any suggestions | Sololearn: Learn to code for FREE!

0

Any suggestions

https://code.sololearn.com/cmZDya6pnMTh/?ref=app

1/6/2022 11:42:13 PM

Jonjo Cope

3 Answers

New Answer

+2

Line 13 Just put temperature before < 39.2

+2

Include tag "Python" in your question. Get used to always tag the language. Use if elif else, then you don't need to test the last condition - it'll already be tested in the other two. Do *not* use "list" as a variable name. "list" is a function.

+1

it's better if you use if,elif,else in your code. if you use 3 if all of them will be executed even if the right value is found. also add temperature in the comparison before 39.2