摘要: 列表(list)是pthon中最常用的数据结构之一,有序,可变。 1.生成一个列表最原始的方法 def is_leap(year: int): return year%4 == 0 and (year%100 != 0 or year%400 == 0) Leap_Year_List = [] #空 阅读全文
posted @ 2021-02-03 19:00 henkenen 阅读(371) 评论(0) 推荐(0) 编辑