If wyrażenia z wyrażeniami true lub false w Pythonie 3
Przykłady kodu
3
0
if wyrażenia z wyrażeniami true lub false w Pythonie 3
temperature = float(input('What is the temperature? '))
if temperature > 70:
print('Wear shorts.')
else:
print('Wear long pants.')
print('Get some exercise outside.')