立即学习:https://edu.csdn.net/course/play/6861/326740?utm_source=blogtoedu
类型转换
int
float
str
bool True False 非0非空即为真
strptime: import datetime
datetime.datetime.strptime("2017-1-1",'%Y-%m-%d').date()
立即学习:https://edu.csdn.net/course/play/6861/326740?utm_source=blogtoedu
类型转换
int
float
str
bool True False 非0非空即为真
strptime: import datetime
datetime.datetime.strptime("2017-1-1",'%Y-%m-%d').date()