Question: in python 2. Write a loop that will count from 0 to 1000 hours. Every iteration of your loop, print the amount of time in

in python in python 2. Write a loop that will count from 0 to

2. Write a loop that will count from 0 to 1000 hours. Every iteration of your loop, print the amount of time in days and hours since the count started. When run the output should look as follows: O days and 1 hours have passed O days and 2 hours have passed O days and 3 hours have passed O days and 4 hours have passed O days and 23 hours have passed 1 days and 0 hours have passed 1 days and 1 hours have passed 1 days and 2 hours have passed 1 days and 23 hours have passed 2 days and 0 hours have passed 2 days and 1 hours have passed Etc, until you have counted 1000 hours

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 Databases Questions!