摘要: 列表count()函数调用方法 对象.count(参数) count()方法操作示例 有列表['a','iplaypython.com','c','b‘,'a'],想统计字符串'a'在列表中出现的次数,可以这样操作 >>> ['a','iplaypython.com','c','b','a'].co 阅读全文
posted @ 2020-10-06 16:25 chengxuyonghu 阅读(23493) 评论(0) 推荐(0)
摘要: import random import os,time,sys import numpy,pandas import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties #data = pandas 阅读全文
posted @ 2020-10-06 15:52 chengxuyonghu 阅读(838) 评论(0) 推荐(0)