Commit f503053e authored by Alexis Winiger's avatar Alexis Winiger

Update primzahlen-1-0.py

parent 59a286f4
......@@ -18,6 +18,6 @@ for number in range(2, max_wert):
for calculation in range(2, number):
if number % calculation == 0:
prime = False
if prime == True:
if prime:
print("Die " + str(prim_count) + ". Primzahl ist: " + str(number))
prim_count += 1
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment