【python】輸入年月日,判斷這一天是這一年的第幾天?

第一種方法:web def is_leap_year(year): if(year % 4 == 0 and year % 100 != 0) or year % 400 == 0: return True else: return False def function1(year,month,day): leap_year = [31,2
相關文章
相關標籤/搜索