6th Jan 2022, 11:42 PM
Jonjo Cope
3 Respuestas
+ 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.
7th Jan 2022, 1:12 AM
Emerson Prado
Emerson Prado - avatar
+ 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
7th Jan 2022, 12:06 AM
YoPycode