#2075: Tricks


1652274-5@g.puiching.edu.mo (P6A05何承禧)

School : No School
ID : 2934
IP address : [192.168.120.33]
Last Login :
2025-05-13 09:39:14
a104. Fibonacci sequence | From: [192.168.120.33] | Post Date : 2025-05-14 16:31

Well, from the question, you can use this:

 

(Python)

 

def a(n):

    return a(n - 1) + a(n - 2)

 

 

you can also use a list to store the items and print it out :D

 
ZeroJudge Forum