阅读背景:

如何在Python中设置最小和最大日期以验证输入?

来源:互联网 

Question in the title. I'm writing a program to ask the user to input a date in the mm/dd/yy format, validate that date if it is only in the year 2013, and then print the date in this format: July 01, 2013. I'm just getting a logic error in that the program will still print the date even if the year is not 2013. Here is my code:Question in the title. I'm writing a program to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: