Skip to content

Commit 8137d97

Browse files
time measurement of watching movies.
1 parent 24b9c25 commit 8137d97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

timeM.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
firstMovieTimeInMinute = 100
2+
secondMovieTimeInMinute = 110
3+
minutePerHour = 60
4+
5+
# converion of minutes to hours
6+
7+
spentTime = (float) (firstMovieTimeInMinute + secondMovieTimeInMinute)/minutePerHour
8+
print("total hours to watch movies",spentTime)

0 commit comments

Comments
 (0)