0
Any suggestions
3 Réponses
+ 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