Feb-22-2019, 03:28 PM
(Feb-22-2019, 03:19 PM)PythonNoob99 Wrote: But what if I want to know the 5th number bigger than 9 in the fibonacci sequence?
Generate numbers until you get one greater than 9 (while loop), and then generate 4 more numbers (for loop).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures