摘要:
1.Python 可以通过将索引指定为-1,让Python返回列表最后一个元素。 2.修改列表元素时,只需要将需要修改的元素重新赋值即可,例; motorcycles = ['honda', 'yamaha', 'suzuki'] print(motorcycles) motorcycles[0] 阅读全文
posted @ 2020-05-25 16:04
静姐姐
阅读(110)
评论(0)
推荐(0)
2020年5月25日