2022-01-14 Pythonによるフィボナッチ数列 python arr = [1, 1] print(arr[0]) while True: print(arr[-1]) tmp = sum(arr) arr.append(tmp) del arr[0] Output >> 1、1、2、3、5、8、13、21、34、55、89、144、233、377…