Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Jun 14, 2022
1 parent 0ee8f64 commit f97b4c3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Beginner_Series_2_Clock_kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Using hours minutes and second return the miliseconds since midnight

def past(h, m, s):
result_s = (s * 1000)
result_m = (m * 60000) + result_s
result_h = (h * 3600000) + + result_m
return result_h

0 comments on commit f97b4c3

Please sign in to comment.