Created
February 10, 2023 02:01
-
-
Save ajsya/55c7a2a8f55e3a60a5dda72bc6cb8062 to your computer and use it in GitHub Desktop.
Simple Python minutes to hours converter
This file contains hidden or 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
mintutes = int(input("enter minutes")) | |
minutes1 = minutes%60 | |
hours = minutes - minutes1 | |
house /= 60 | |
hours = int(hours) | |
print(str(hours) + "h" + str(minutes1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment