the-honk/school/gcse/year 9/python challenges/7 - TV.py
2021-12-21 19:46:28 +00: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.')