Commit d5f78fde authored by BONALA SAI MANIKANTA BHAAVAN's avatar BONALA SAI MANIKANTA BHAAVAN
Browse files

Upload New File

parent f8567184
Pipeline #26121 passed with stage
in 13 seconds
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
Supports Markdown
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