computed some Fibonacci numbers : Append : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Append »

 

computed some Fibonacci numbers


fibs = [01
for i in range(8):
    fibs.append(fibs[-2+ fibs[-1]) 

print fibs



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo List
» Append