Commit 20e92542 authored by Pranay vardhan reddy's avatar Pranay vardhan reddy

Add new file

parent fb3bfac0
Pipeline #10566 passed with stage
in 14 seconds
def prime():
for a in range(2,100):
k=0
for i in range(2,a//2+1):
if(a%i==0):
k=k+1
if(k<=0):
print(a)
prime()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment