kyomato/examples/advanced_ayano/test.py
2024-03-28 10:51:05 +02:00

41 lines
No EOL
812 B
Python

import os
___cwd___ = os.getcwd()
os.chdir('scripts')
e = 1.0
f = 1.0
for i in range(1, 100):
f /= i
e += f
not_pi = e
os.chdir(___cwd___)
def f_10738591751140221069():
e = 1.0
f = 1.0
for i in range(1, 100):
f /= i
e += f
from math import pi
return f"e = {e}, pi = {pi}, pi != {not_pi}"
def f_13523737368002237989():
# You will see this comment
x = 2
# And you'll see this one
# you'll see this comment, and the 2
return x
import os
___cwd___ = os.getcwd()
os.chdir('data')
three = None
with open("3", "r") as f:
three = int(f.readline())
os.chdir(___cwd___)
import os
___cwd___ = os.getcwd()
os.chdir('')
two = None
with open("2", "r") as f:
two = int(f.readline())
os.chdir(___cwd___)
def f_5124826474091756568():
return two + three