Python exercise

Priemgetal-telfunctie

Sign in to hand in your solution and get feedback.

import math def is_priem(getal): i = 2 while i < getal and getal % i != 0: i = i + 1 return i == getal