Question: Write a program to accept a number from 1 to 7 and display the name of the day (ex. 1 for Sunday, 2 for
Write a program to accept a number from 1 to 7 and display the name of the day (ex. 1 for Sunday, 2 for Monday, etc.). Ask the user to enter a number 1-7. This program should use the if-elif-else statement to assign a day of the week based on the number entered as input by the user. Be creative and professional in your output. Use complete sentences, good grammar and punctuation. How will your client like to see the output!
Step by Step Solution
3.42 Rating (146 Votes )
There are 3 Steps involved in it
Heres a sample Python program that meets the requirements described in the question python def dayof... View full answer
Get step-by-step solutions from verified subject matter experts
