Created
February 6, 2017 23:06
-
-
Save shamikalashawn/1ffadd59f12285d503426d576f9f719d to your computer and use it in GitHub Desktop.
This function returns the percentage of an hour that the minutes provided represent.
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
def return_percentage(minutes): | |
percentage = (minutes/60)*100 | |
return int(percentage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment