Moved problems till e045.py to Python 2.

This commit is contained in:
2019-07-16 21:17:21 -04:00
parent ddb61ff731
commit 301033d17d
20 changed files with 324 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
FROM = 56
TILL = 66
template = """
def euler_XXX():
return 0
if __name__ == "__main__":
print("eXXX.py: " + str(euler_XXX()))
assert(euler_XXX() == 0)
"""
for i in range(FROM, TILL):
e = "0" + str(i)
filename = "e" + e + ".py"
with open(filename, "w") as f:
s = template.replace("XXX", e)
f.write(s)