Created
April 28, 2020 04:28
-
-
Save computer-tutor/7b18530385c61c08030a1c53cf5835d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t1 = input('Welcome to Computer Tutor!\n Please enter the first time:') | |
t2 = input('Please enter thr second time:') | |
print(int(t2[:2])-int(t1[:2]),'hours', int(t2[2:])-int(t1[2:]),'minutes') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment