Collecting the primes in a range

Write code · Medium · §7.6 Nested loops and the first math helper

Find all the prime numbers from start to end (including end), and store them in the list primes in order from smallest to largest. start is 2 or greater.

Starter code

start = 50
end = 70

Solve 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.