Question: 5 8 6 2 6 2 4 4 4 7 5 1 6 . 9 3 2 9 y 7 Jump to level 1 Convert

5862624447516.9329y7
Jump to level 1
Convert total_days to years, weeks, and days, finding the maximum number of years, then weeks, then days.
Click here for example
Ex: If the input is 1837, then the output is:
Years: 5
Weeks: 1
Days: 5
Note: Assume a year has 365 days. A week has 7 days.
total_days = int((input())]
`.' Your code goes here
print('Years:', num_years)
print('Weeks:', num_weeks)
print('Days:', num_days)
5 8 6 2 6 2 4 4 4 7 5 1 6 . 9 3 2 9 y 7 Jump to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!