add py files, not working yet

This commit is contained in:
Joseph Hopfmüller
2023-02-04 18:13:09 +01:00
parent ff3907077b
commit 6262a7c836
3 changed files with 904 additions and 0 deletions

9
test.py Normal file
View File

@@ -0,0 +1,9 @@
with open('test.txt', 'w') as file:
file.write('(i.j),k,l,(m.n)\n')
for i in range(9):
for j in range(9):
for k in range(3):
for l in range(3):
m = (i//3)*3+(i+k)%3
n = (j//3)*3+(j+l)%3
file.write(f'({i}.{j}),{k},{l},({m}.{n})\n')