Created
June 8, 2016 17:47
-
-
Save MuddyBootsCode/a5e4aacae3337e6e7b4d750fc843955f 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
userTime = int(input('Give me a number of seconds and I\'ll give you how much time that is back.\n')) | |
hour = int((userTime / 60) / 60) | |
minuet = int((userTime / 60) % 60) | |
sec = userTime - (((hour * 60) * 60) + (minuet * 60)) | |
print(hour) | |
print(minuet) | |
print(sec) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment