M4KO6

  • Python extend()

    python 中的extend()函数通过将给定 iterable 的所有元素添加到列表的末尾来帮助增加列表的长度。 **list1.extend(iterable)** #whe…

    编程 2024-10-03