组合数据类型练习
a = 'examples' print(a) for i in a: print(i) s = 'this is a string examples' ls = s.split() print(ls) for i in ls: print(i tup = ('Nacy', 'Andy', 56); print(tup) for i in tup: print(i) names = ['Michael','Tracy','Bob'] score = [88,75,95] d = dict(zip(names,score)) print(d) for i in d: print(i) s = d.keys() print(s) for i in s: print(i)