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
标签云
站点统计

本站现有博文240篇,共被浏览280591

本站已经建立1751天!

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