We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bce900 commit 02ab803Copy full SHA for 02ab803
exercises/007-hours_and_minutes/solution.hide.py
@@ -1,9 +1,9 @@
1
-#Complete the function to calculate how many hours and minutes are passed since midnight.
2
def hours_minutes(secs):
+ # Your code here
3
minutes = secs // 60
4
hours = minutes // 60
5
minutes = minutes % 60
6
return (hours, minutes)
7
8
-#Invoke the funtion and pass any interger as its argument.
9
-print(hours_minutes(3900))
+# Invoke the function and pass any integer as its argument
+print(hours_minutes(3900))
0 commit comments