This repository has been archived on 2026-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
NAIPC-2018/facts.py
2018-03-25 22:52:29 -04:00

8 lines
158 B
Python

import json
MOD = 10 ** 9 + 7
lst = [1]
for x in range(1, 100_000):
lst.append((lst[-1] * x) % MOD)
with open('mod.json','w') as f:
json.dump(lst, f)