728x90
반응형

단순 수학 문제이다.

n = int(input())
a, b = 0, 1
for i in range(n):
    a, b = b, a+b
print(a)

 

728x90
반응형

+ Recent posts