The tenth prime
Write code · Challenge · §7.5, §7.6 Nested loops and the first math helper
Count the prime numbers in order, starting from 2, and store the target-th prime in nth_prime. You do not know how far you will need to go, so use while.
Starter code
target = 10Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.