Hi, it's been a while since I have used Python and I am very rusty. I have a problem with a piece of code and I can't for the life of me figure out what is wrong.
Basically I need a piece of code that prints 'to cold' if the user input is less than 21 and prints 'to hot' if the user input is over 24. However it prints to hot whatever valur I type in.
Any help would be appreciated.
var = raw_input("Enter temperature: ")
temperature = raw_input
if temperature < 21:
print "temperature to cold"
elif temperature > 24:
print "temperature to hot"
raw_input()