sw="日一二三四五六"
y=int(input("请输入年份:"))
m=int(input("请输入月份:"))
d=int(input("请输入日期:"))
print(y,"年",m,"月",d,"日")
if :
m=m+12
week=(d+2*m+3*(m+1)//5+y+y//4-y//100+y//400+1)%7
weekday=
print("星期"+weekday)
微信扫码预览、分享更方便