tuple - immutable sequence : (2,3) tulpe ('ciao')
list - mutable sequence: [2,3] list('ciao')
set / frozenset : set() set ((23,)) set ('ciao')
dict map key-value: {2:3}, {4:5,6:7} dict(ci='oo')
All Containers support :
len(c)
iteration : for x in c
membership: if x in c
more...
No comments:
Post a Comment