Fibonacci Nth

Return the Nth Fibonacci number using iteration.

Topics: loops, numbers, algorithms. Solve this Luau challenge inside Luablox with visible examples and hidden tests.

Understand loop structures in Luau, including numeric, while, generic pairs, and ipairs iterators.

Browse all Luau problems

Read a theory lesson

Related pages