mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
readability
This commit is contained in:
parent
05aec6af49
commit
925ab20145
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue