mirror of
https://github.com/arthur-pbty/nsi.git
synced 2026-06-03 23:36:19 +02:00
8 lines
112 B
Python
8 lines
112 B
Python
from math import sqrt
|
|
|
|
res = 0
|
|
for i in range(1,1001):
|
|
res = 1+res/i
|
|
print(i, res)
|
|
|
|
print(1 + sqrt(5)/2) |