📜  如何计算 pisano 周期 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:54.877000             🧑  作者: Mango

代码示例2
N = ??
n = ??
r = 0.00043
i = 0
while i <= 10:
 i = i + 1
 n = n + int(r*n*N)
 N = N - int(r*n*N)
print(n)