student = ['Jack', 'Tom', 'John']
for i in student:
    print(i)

 

favorit_places= {'小明':{'海水浴场', '八大关', '五四广场'},
                '小红':{'海洋大学', '海底世界', '崂山'},
                '小白':{'中山公园', '八大关', '五四广场'},
                }
for k,v in favorit_places.items():
    print(k+':')
    if(len(v)>0):
        for place in v:
            print('\t',place)

 

#九九乘法表
for i in range(1, 10):
    for j in range(1, i+1):
        print('%d*%d=%d' % (j, i, (j*i)), end='\t')
    print()