Question: Complete this program that reads the times for two events, such as 3 prn and 1 1 am . Determine whether the first event occurs

Complete this program that reads the times for two events, such as 3 prn and 11 am. Determine whether the first event occurs before the second event, at the same time, or after the second event. Print "Before", "Same", or "After". Empty print statements are included for output formatting.
time1= int(input("First time: "))
print()
suffix1= input("suffix: ")
print()
time 2= int (input("Second time: "))
print()
suffix2= input("suffix: ")
print()
# Compare the two times and determine whether the event occurs
# before the second event, at the same time, or after the second event.
# Print "Before", "Same", or "After"
if # Your code goes here :
if # Your code goes here :
print(# Your code goes here)
 Complete this program that reads the times for two events, such

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!