for循环可以遍历列表或字典中的元素,统计不同条件下的元素个数,也可以计算不同元素出现的次数。本次课程参考示例 https://github.com/programing-basic-Tutor/Python_Examples/blob/master/for_temperature_stat.py
用户评论