例如:['2018-08-04','2019-09-04']如何将8和9分别存入两个变量i和j中?元素是data_range生成的datatime类型,不能用python内置的split切片
a = datetime.date.today() print(a.month)#8