PY/MATH
Home
Challenges
Concepts
Progress
Final Project
0 XP
·
L1
EN
NO
☾
⚙
← Challenges
Sequences · Hard
First N Primes
Write `first_primes(n)` returning a list of the first `n` prime numbers.
solution.py
○ Loading…
Reset
Loading...
Run code
Check solution
Console
Test cases
first_primes(5)
PENDING
Hidden
PENDING
Hints
Reveal next hint
>_