Question: python question Count the days of the week as follows: 0 - Sunday 1 - Monday 2 - Tuesday 3 - Wednesday 4 - Thursday

Count the days of the week as follows: 0 - Sunday 1 - Monday 2 - Tuesday 3 - Wednesday 4 - Thursday 5 - Friday 6 - Saturday Given an integer K in the range 1 to 365, find the number of the day of the week for the K-th day of the year provided that this year's January 1 is Thursday. Example Input Enter a Day Number: 1 Example Output Day of Week: 4 Example Input Enter a Day Number: 2 Example Outnut Privacy Terms Example Input Enter a Day Number: 2 Example Output Day of Week: 5 Example Input Enter a Day Number: 3 Example Output Day of Week: 6 Example Input Enter a Day Number: 4 Example Output Day of Week: 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
