You are on page 1of 1

l6=[12,34,45,45,65,6,43,34,23,456,57,789]

s=0

for x in l6:
if x%3==0:
s= s+x

print('Sum of integer :',s)

You might also like