Test Posting - Python

Updated:

Category - PYTHON test!

Example : Fibonacci Function

def Fibonacci_Function(number):
  str = [0, 1]
  a, b = 0, 1
  i = 1
  while i <= number:
    a, b = b, a+b
    str.append(b)
    i = i + 1
  return str

n = Fibonacci_Function(100)
print(n)

피보나치 수열 예제입니다.

Leave a comment