Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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.
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. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started