Question: create python code Write a program to ask the user for a number of hours. Insure that the number entered is from 1 to 500.
Write a program to ask the user for a number of hours. Insure that the number entered is from 1 to 500. Create a for loop to iterate once for each hour. When it hits an even day, print the day number. For example, when it hits 24 , display 1 day, when it hits 48 display 2 days, etc. When it hits an even week, display the week number. Submit your work to this assignment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
