Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- for i in range(100):
- print(i, time.ctime())
- time.sleep(0.03) # отрегулируйте интервал сна
- import time
- first_time = time.clock
- all_time = 0
- for i in range(1000000000000):
- all_time += time.clock()
- if all_time > 1000:
- break
- print(all_time)
Add Comment
Please, Sign In to add comment