[Programmers] 멀리 뛰기
Python
def solution(n):
a, b = 0, 1
for i in range(0, n):
a, b = b, a + b
return b % 1234567
def solution(n):
a, b = 0, 1
for i in range(0, n):
a, b = b, a + b
return b % 1234567
댓글남기기