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 ccd3690 commit 71e14adCopy full SHA for 71e14ad
exercises/007-hours_and_minutes/solution.hide.py
@@ -0,0 +1,9 @@
1
+#Complete the function to calculate how many hours and minutes are passed since midnight.
2
+def hours_minutes(secs):
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))
0 commit comments