THIS WORKS.

Foto
19.02.2022
Autor: Revista Blogurilor

 The Fibonacci Sequence or Golden Ratio. I didn’t sleep well last night so got up and tried to recall how I got the computer to create a Fabonacci sequence. I’ve done it before but I must admit I struggled over something so simple that I got tired and fell asleep. It did the job.This works now, it is quite satisfying when a computer instantly produces a series of adding ups. (a)  is the number you want it to iterate to.the x, y bit and visa versa is Pythonese for making it use the last value when it starts a new iteration. I think. Ignore the left hand window, that just shows th… citeste mai mult

Vezi sursa

Articole similare:

Top