EADST

Python: Get the Mode of One List

Python: Get the Mode of One List.

from statistics import mode

lst = [1, 3, 2, 3, 1, 2, 3]
print(mode(lst))
# 3
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文287篇,共被浏览561424

本站已经建立2147天!

热门文章
文章归档
回到顶部