Untitled
Anonymous
plain_text
02/17/2025 3:47 AM
128 B
13
Indexable
tuple1=(1,6,3,4,5)
lst=[]
for i in tuple1:
if(i%3==0):
lst.append(i)
print(lst)
Editor is loading...
Leave a Comment
tuple1=(1,6,3,4,5)
lst=[]
for i in tuple1:
if(i%3==0):
lst.append(i)
print(lst)