Skip to content
Snippets Groups Projects
Commit 6e9b7dda authored by Donovan Paul Seijas Polo's avatar Donovan Paul Seijas Polo
Browse files

Upload New File

parent f48520b9
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
p = 0
for i in range(1, 151):
for j in range(1, i+1):
if i%j == 0:
p += 1
if p == 2:
print(i)
p = 0
```
%% Output
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
101
103
107
109
113
127
131
137
139
149
%% Cell type:code id: tags:
``` python
```
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment