• 2022-07-28
    中国大学MOOC: 已知列表lst=[a,b,c,1],则以下不能够删除值为1的元素的表示式为:
  • lst.remove(-1)

    内容

    • 0

      中国大学MOOC: 已知列表lst=[ [1,2,3],[4,5,6],[7,8,9] ],则表达式lst[1][1]的值为:

    • 1

      中国大学MOOC: 已知列表lst=[ [1,2,3],[4,5,6],[7,8,9] ],则表达式lst[1][1]的值为:

    • 2

      中国大学MOOC: 已知列表lst=[ [1,2,3],[4,5,6],[7,8,9] ],则表达式lst[1][1]的值为:

    • 3

      中国大学MOOC: 已知列表lst=[ [1,2,3],[4,5,6],[7,8,9] ],则表达式lst[1][1]的值为:

    • 4

      已知列表lst=[1,2,3],则表达式lst[1:-1]的值为2 。