#24855: python解


h103013@hnps.tn.edu.tw (KKK)


剛才寫錯了!!!

def fib(n):
if n < 2:
return n
else:
return fib(n-1)+fib(n-2)
print(fib(5))