判斷閨年
程式內容
Year=int(input("請輸入西元年份="))
if(Year%400)==0:
print("%d為%s"%(Year,"閨年"))
else:
if((Year%4)==0)and((Year%100)!=0):
print("%d年%s"%(Year,"平年"))