Python-计算列表中的元素
问题描述:
我正在尝试找到一种简单的方法来获取列表中元素的数量:
I am trying to find a simple way of getting a count of the number of elements in a list:
MyList = ["a", "b", "c"]
我想知道此列表中有3个元素.
I want to know there are 3 elements in this list.