Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Alexis Winiger
Python3_Primzahlen
Commits
f503053e
Commit
f503053e
authored
Oct 22, 2020
by
Alexis Winiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update primzahlen-1-0.py
parent
59a286f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
primzahlen_solution/primzahlen-1-0.py
primzahlen_solution/primzahlen-1-0.py
+1
-1
No files found.
primzahlen_solution/primzahlen-1-0.py
View file @
f503053e
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment