Factorial

Compute n! iteratively.

Topics: loops, numbers, math. 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