Honors 1000, Productive Data Manipulation in Python and SQL (Fall 2019)

Homework 1 (Due: 30 September 2019)

Write a Python program that reads in two times, an earlier time and a later time, and prints the difference between the two times in minutes as well as in hours/minutes. The format of the time is HH:MMAM or H:MMAM or HH:MMPM or H:MMPM. Also the AM or PM may be in lower case. A sample run of the program is shown below:
$ python3 Time.py

Enter Earlier Time: 9:36aM
Enter Later   Time: 6:22PM

Number of minutes between 9:36aM and 6:22PM = 526
The time difference between 9:36aM and 6:22PM = 8 hours and 46 minutes.
The formatting of the output should be exactly as shown above. This program should be placed in a file called Time.py.