No mystery here. When it sees that a == 1, it returns immediately with a value of 1. It won't get to the list.append code.
rubberman
Posting Maven
2,576 posts since Mar 2010
Reputation Points: 365
Solved Threads: 307
Skill Endorsements: 52
Oh my goodness, you are mixing a recursive fibonacci number function with an attempt to make a sliced list. A recipe for disaster.
Ene Uran
Posting Virtuoso
1,830 posts since Aug 2005
Reputation Points: 676
Solved Threads: 255
Skill Endorsements: 7
vegaseat
DaniWeb's Hypocrite
6,476 posts since Oct 2004
Reputation Points: 1,447
Solved Threads: 1,611
Skill Endorsements: 36
Question Answered as of 5 Months Ago by
Ene Uran,
rubberman
and
vegaseat