Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def s21c_vremya():
- global hour
- from time import localtime, strftime
- t = strftime("%H:%M:%S", localtime())
- hour, min, sec = t.split(":")
- hour = int(hour)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement