← The arcade

Unscramble · difficulty 3 of 3

Unscramble: Fibonacci generator 🧩

Reorder into a generator that yields Fibonacci numbers and a loop that prints the first eight.

This one is part of Pro. Plenty of arcade challenges are free to play right now.

Skills: functions

Open the arcade