This commit is contained in:
j 2023-12-19 13:25:02 +00:00
parent 0ce42b645a
commit 1342571e91

View file

@ -1,12 +1,10 @@
from mpmath import mp from mpmath import mp
mp.dps = 10000
PI = str(mp.pi).replace('.', '')
class random(object): class random(object):
PI = str(mp.pi).replace('.', '')
def __init__(self, offset=0): def __init__(self, offset=0):
self.position = offset self.position = offset
mp.dps = 10000 + offset
self.PI = str(mp.pi).replace('.', '')
self.numbers = list(map(int, self.PI[offset:])) self.numbers = list(map(int, self.PI[offset:]))
def __call__(self): def __call__(self):