PY/MATH
Home
Challenges
Concepts
Progress
Final Project
0 XP
·
L1
EN
NO
☾
⚙
← Challenges
Sequences · Medium
Fibonacci
Write `fib(n)` returning the first `n` Fibonacci numbers starting `[0, 1, 1, 2, ...]`.
solution.py
○ Loading…
Reset
Loading...
Run code
Check solution
Console
Test cases
fib(1)
PENDING
fib(2)
PENDING
fib(7)
PENDING
Hidden
PENDING
Hints
Reveal next hint
>_