Istruzioni if con istruzioni true o false in python 3
Esempi di codice
3
0
istruzioni if con istruzioni true o false in python 3
temperature = float(input('What is the temperature? '))
if temperature > 70:
print('Wear shorts.')
else:
print('Wear long pants.')
print('Get some exercise outside.')