I am new to Python and I have a question for a simple piece of code as below:
temp = '32' if temp > 85: print "Hot" elif temp > 62: print "Comfortable" else: print "Cold"
According to my understanding, when the program compiles and goes to line 2, it checks if 32>85 and its not true so goes to next condition and checks if 32>62 and its not true and goes to else and should print "Cold"
However, I see the answer is : "Hot" . Can anyone please explain how is it "Hot" ?