Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
BONALA SAI MANIKANTA BHAAVAN
saimanikanta.swecha.io
Commits
d5f78fde
Commit
d5f78fde
authored
Jun 10, 2019
by
BONALA SAI MANIKANTA BHAAVAN
Browse files
Upload New File
parent
f8567184
Pipeline
#26121
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python tasks/tasks2/task2.10.py
0 → 100644
View file @
d5f78fde
list1
=
[
1
,
2
,
3
,
5
,
7
,
8
,
9
]
prime
=
[]
s
=
0
for
x
in
list1
:
if
(
x
>
1
):
for
i
in
range
(
2
,
x
):
if
(
x
%
i
==
0
):
break
else
:
prime
.
append
(
x
)
s
=
s
+
x
print
(
prime
)
print
(
s
)
\ No newline at end of file
Write
Preview
Supports
Markdown
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