Deleting elements of lists, within other lists in Python

前端 未结 0 1620
轻奢々
轻奢々 2021-01-21 06:01

While doing some Python exercises related to lists and functions, I\'ve encountered this following code:

list = [0, 1, 2, 3, 4]


def function (lst):
    del lst[         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题