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
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
Get step-by-step solutions from verified subject matter experts
