卖逼视频免费看片|狼人就干网中文字慕|成人av影院导航|人妻少妇精品无码专区二区妖婧|亚洲丝袜视频玖玖|一区二区免费中文|日本高清无码一区|国产91无码小说|国产黄片子视频91sese日韩|免费高清无码成人网站入口

java郵箱判斷合法正則表達式 python正則表達式辨別輸入日期規(guī)范?

python正則表達式辨別輸入日期規(guī)范?1. Python正則表達式的輸入日期規(guī)范如下:year,month,day=Eval(input(“please input year,month,day,s

python正則表達式辨別輸入日期規(guī)范?

1. Python正則表達式的輸入日期規(guī)范如下:

year,month,day=Eval(input(“please input year,month,day,separated by comma”)

months=[31,28,31,30,31

]if(year%4==0 and year  0!=0)或(年@0==0):

months[1]=29#在閏年,二月最多有29天

如果month<1或month>12:

print(“非法月”

elif day<1或day>months[month 1

]print(“非法日”

否則:

print(“合法月/日”

2。代碼:

3。結果: