Need help in finding the day of given (year,month,date) in python

后端 未结 0 399
时光说笑
时光说笑 2020-12-29 18:28
def isYearLeap(year):   # Leap year formula

    if year % 4 == 0 and year % 100 != 0 :     
        return True 
    elif year % 400 == 0 :
        return True
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题