立即学习:https://edu.csdn.net/course/play/26676/338778?utm_source=blogtoedu
列表是容器类对象,列表可变,字符串不可变
list.append()无返回值
list.extend(a) a 需要是可迭代元素,目前str和list都是可迭代元素
list.sort() list的元素需要一致性
立即学习:https://edu.csdn.net/course/play/26676/338778?utm_source=blogtoedu
列表是容器类对象,列表可变,字符串不可变
list.append()无返回值
list.extend(a) a 需要是可迭代元素,目前str和list都是可迭代元素
list.sort() list的元素需要一致性