Untitled
unknown
plain_text
9 months ago
95 B
3
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)