EEZY

  • 计算列表长度的函数

    一、用来计算列表长度的内置函数 Python中内置了一个函数len(),用来计算列表的长度。 lst = [1, 2, 3, 4, 5] length = len(lst) pri…

    编程 2024-10-03