🌈 搜索
📅  最后修改于: 2022-03-11 14:45:33.484000             🧑  作者: Mango
list1 = [1, 2, 3, 4, 5] list2 = list1[0:3] print(list2) //output [1,2,3]