Guest User

Untitled

a guest
Nov 21st, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #1.) Search:
  2. def SA(text):
  3. def f(x):
  4. return text % x
  5. return f
  6. #2.) Add bellow:
  7. def FormatTime(time):
  8. m, s = divmod(time, 60)
  9. h, m = divmod(m, 60)
  10. return "%02d:%02d:%02d" % (h, m, s)
Advertisement
Add Comment
Please, Sign In to add comment