You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
240 B

#!/usr/bin/python
test = False
test = True
from disk_cache import *
@disk_cache
def func(n):
t = 1
for i in range(1,n+1):
t *= i
return t
if test:
for i in range(0,10**9,1000):
print(i)
func.save_cache()