0
Can somebody help me?
It's my code: temperature = input("What is the temperature?") if temperature > 50: print('It is too hot!') if temperature < 50: print('It is too cold.') print(temperature) When i start it there's a error: '>' not supported between instances of 'str' and 'int' Can somebody help me with this?
1 Respuesta
0
thanks, it works,but i have another question: how can i loop it?