list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list # 输出完整列表:['runoob', 786, 2.23, 'john', 70.2]
print list[0] # 输出列表的第一个元素:runoob
print list[1:3] # 输出第二个至第三个元素:[786, 2.23]
print list[2:] # 输出从第三个开始至列表末尾的所有元素:[2.23, 'john', 70.2]
print tinylist * 2 # 输出列表两次:[123, 'john', 123, 'john']
print list + tinylist # 打印组合的列表:['runoob', 786, 2.23, 'john', 70.2, 123, 'john']