Evaluatie - Hoofdstuk 5 - Functies 0 of 12 activities solved
  1. 1. Bijna gelijk Not yet solved
  2. 2. Euclidische afstand in het vlak Not yet solved
  3. 3. Formule van Brahmagupta Not yet solved
  4. 4. Mexen Not yet solved
  5. 5. Sexy priemgetallen Not yet solved
  6. 6. Sophie Germainpriemgetal Not yet solved
  7. 7. Kleinste grotere priemgetal Not yet solved
  8. 8. Dichtste priemgetal Not yet solved
  9. 9. Priemgetalhiaten Not yet solved
  10. 10. Priemgetal-telfunctie Not yet solved
  11. 11. Evenwichtige priemgetallen Not yet solved
  12. 12. Alle rechthoekige getallen Not yet solved
Next series Hoofdstuk 6: Lijsten
Evaluatie - Hoofdstuk 5 - Functies

6. Sophie Germainpriemgetal

Sign in to hand in your solution and get feedback.

def is_priem(getal): i = 2 while i < getal and getal % i != 0: i = i + 1 # Indien geen delers werden gevonden is i == getal return i == getal