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