Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from time import time
- a = time()
- def fun(n):
- if n == 0:
- return;
- fun(n-1)
- for i in range(10000):
- fun(400)
- b = time()
- print(b-a)
- # took 0.039359092712402344 s in pypy3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement