Mar-27-2020, 04:59 PM
1. It is possible to name the days 0 through 6 where day 0 is Sunday and day 6 is Saturday. You want go on a summer holiday and you want to make reservation for it. You decided to go at next Thursday (day number 4) for 12 nights, you would return home on a Tuesday (day 2).
Day index 0 1 2 3 4 5 6
Day name Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Write a python script which asks for the starting day number, and how many nights you want to go to holiday residence, and it will tell you the number of day of the week you will return on.
Day index 0 1 2 3 4 5 6
Day name Sunday Monday Tuesday Wednesday Thursday Friday Saturday
Write a python script which asks for the starting day number, and how many nights you want to go to holiday residence, and it will tell you the number of day of the week you will return on.