Skip to content

Commit

Permalink
Basic
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjanaPurbia authored Aug 7, 2021
1 parent fad1289 commit b9c8d31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions range.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
for i in range(1,1001):
if i >1:
for j in range(2,i):
if i%j == 0:
break
else:
print(i,end=" ")

0 comments on commit b9c8d31

Please sign in to comment.