2017-01-30 67 views

回答

2

简单的一行代码。

from datetime import datetime 

print ('5' in (str(datetime.now().strftime("%d/%m/%y")))) 
相关问题