摘要: 1.Python 可以通过将索引指定为-1,让Python返回列表最后一个元素。 2.修改列表元素时,只需要将需要修改的元素重新赋值即可,例; motorcycles = ['honda', 'yamaha', 'suzuki'] print(motorcycles) motorcycles[0] 阅读全文