python求助!第一个和第五个WA
查看原帖
python求助!第一个和第五个WA
594967
ytt02_11楼主2023/3/2 09:36
x,y = map(int,input().split())
if x%400==0 or x%4==0 and x%100!=0 and y==2:
    print('29')
elif y==2:
    print('28')
elif y%2!=0 or y==8:
    print('31')
else:
    print('30')
2023/3/2 09:36
加载中...