2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

readability

This commit is contained in:
Martin Thoma 2014-09-25 10:24:30 +02:00
parent 05aec6af49
commit 925ab20145

View file

@ -26,7 +26,7 @@ def create_csv(n, filename):
csvwriter.writerow(["x", "y", "steps"])
for x in range(n):
for y in range(n):
steps = eea(x, y)[-1]
gcd, u, v, steps = eea(x, y)
max_steps = max(steps, max_steps)
csvwriter.writerow([x, y, steps])
print("Maximum step number: %i" % max_steps)