the-honk/gcse computer science/year 9/python challenges/7 - TV.py
2021-09-14 21:57:23 +01:00

8 lines
No EOL
288 B
Python

time = int(input('How long on average do you spend watching TV a day? (Please answer in minutes.)'))
if time <= 120:
print('That shouldn\'t rot your brain too much.')
elif time <= 240:
print('Aren\'t you getting square eyes?')
else:
print('Fresh air beats channel flicking.')