🌈 搜索
📅  最后修改于: 2022-03-11 14:46:45.981000             🧑  作者: Mango
l1 = [1, 8, 7, 2, 21, 15] l1.reverse() # reverses the list print(l1) #it will reverse the list