the-honk/school/gcse/year 9/python challenges/7 - TV.py
2024-10-09 18:02:36 +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.')