# Python Lists

• Steve Jones - SSC Editor

SSC Guru

Points: 718927

• Andy Clap

SSC Veteran

Points: 231

1,2,3 isn't the first three numbers in the Fibonacci Sequence.  Neither is 1,1,2 really, but it's closer than 1,2,3!!

• morlindk

SSCrazy

Points: 2294

Extend function is not known to my RStudio / RGui. An error to that effect is returned.

• paul s-306273

SSChampion

Points: 10615

I saw 1,1,2 and guessed that as I don't know Python.

• Stewart "Arturius" Campbell

SSC Guru

Points: 71756

Interesting question, thanks Steve
Haven't used Python in quite a few years....

____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
โlibera tute vulgaris exโ

Right there with Babe

Points: 751

andrew.clapham - Friday, October 20, 2017 12:52 AM

1,2,3 isn't the first three numbers in the Fibonacci Sequence.  Neither is 1,1,2 really, but it's closer than 1,2,3!!

• david.gugg

SSCertifiable

Points: 5692

"By definition, the first two numbers in the Fibonacci sequence are either 1 and 1, or 0 and 1, depending on the chosen starting point of the sequence, and each subsequent number is the sum of the previous two."
https://en.wikipedia.org/wiki/Fibonacci_number
If it's on wikipedia, it has to be right! ๐

[font="Tahoma"]Personal blog relating fishing to database administration:[/font]

[font="Comic Sans MS"]https://davegugg.wordpress.com[/url]/[/font]

• sknox

SSChampion

Points: 12284

david.gugg - Friday, October 20, 2017 9:06 AM

"By definition, the first two numbers in the Fibonacci sequence are either 1 and 1, or 0 and 1, depending on the chosen starting point of the sequence, and each subsequent number is the sum of the previous two."
https://en.wikipedia.org/wiki/Fibonacci_number
If it's on wikipedia, it has to be right! ๐

I guess it depends on who gets to define what the Fibonacci sequence is.
"You can indeed see in the margin how we operated, namely that we added the first number to the second, namely the 1 to the 2..." (English translation quote from https://www.math.utah.edu/~beebe/software/java/fibonacci/liber-abaci.html )

• Steve Jones - SSC Editor

SSC Guru

Points: 718927

morlindk - Friday, October 20, 2017 1:17 AM

Extend function is not known to my RStudio / RGui. An error to that effect is returned.

This isn't an R question. It's a Python question.

• Steve Jones - SSC Editor

SSC Guru

Points: 718927

1,2,3 was a typo. It should have been 1, 1, 2 for all answers to make things consistent. Points awarded back.

• HappyGeek

SSCoach

Points: 18678

Complete guess, never used Python so learned something.

...

• dstrickrott

SSCommitted

Points: 1951

Love these Python questions. Thanks Steve.

Viewing 12 posts - 1 through 12 (of 12 total)