Question: 4. Filename: assign3-8.py Write a program that takes the time in military format (e.g. 1 am is 0100 hours and 11 pm is 2300

4. Filename: assign3-8.py Write a program that takes the time in military format (e.g. 1 am is 0100 hours and 11 pm is 2300 hours). The program should display the appropriate message based on the entered time. Use the following table. Time between 5 am and 12 pm between 12 pm and 4 pm between 4 pm and 7 pm between 7 pm and 5 am Input: a) python C:\Users eda\Data Programming\M3\assign3-8.py 1115 b) python C:\Users eda\Data Programming\M3\assign3-8.py 1425 c) python C:\Users eda\Data Programming\M3\assign3-8.py 0230 Output: a) Good morning b) Good afternoon Message Good morning Good afternoon Good evening Good night c) Good night
Step by Step Solution
There are 3 Steps involved in it
Python version 36 assign38py Python program that takes the time in mili... View full answer
Get step-by-step solutions from verified subject matter experts
