Exercise: Loops

Let's have an exercise on finding prime numbers.

We'll cover the following

Problem

Why does this program not find all the prime numbers? Can you fix it?

Get hands-on with 1200+ tech skills courses.