the-honk/gcse computer science/year 9/python/python challenges/7 - TV.py
2021-05-28 21:38:55 +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.')