Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 1. read number
- # 2. check number
- day_of_week = int(input())
- if day_of_week == 1:
- print('Monday')
- elif day_of_week == 2:
- print('Tuesday')
- elif day_of_week == 3:
- print('Wednesday')
- elif day_of_week == 4:
- print('Thursday')
- elif day_of_week == 5:
- print('Friday')
- elif day_of_week == 6:
- print('Saturday')
- elif day_of_week == 7:
- print('Sunday')
- else:
- print('Error')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement