Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit f4cd161

Browse files
authored
Create 6_prime
1 parent 994c841 commit f4cd161

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

6_prime

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
m=100
2+
l=1
3+
for a in range(l,m+1):
4+
if a>1:
5+
k=0
6+
for i in range(2,a//2+1):
7+
if(a%i==0):
8+
k=k+1
9+
if(k<=0):
10+
print(a)

0 commit comments

Comments
 (0)