现有一变量times=“20990611”把其中的年,月,日分别输出出来
这样?
times = "20990611" print(times[:4]+"年"+times[4:6]+"月"+times[6:]+"日")