Why tuple?

mail@pastecode.io avatar
unknown
plain_text
2 years ago
116 B
1
Indexable
Never
s = {1:3 ,4:7 ,8:11} 
a= [2,3,4]
b =[7,8,20]
for item in s.items():
    k,v = item
    print(item, type(item), k ,v)