from datetime import datetime
a =['2023-12-9','2024-5-10','2024-5-11','2024-5-12','2024-5-13','2024-5-14','2024-5-15',]for i in a:
date_obj = datetime.strptime(i,"%Y-%m-%d")
year =str(int(date_obj.strftime("%Y")))
month =str(int(date_obj.strftime("%m")))
day =str(int(date_obj.strftime("%d")))print(year+'年'+month+'月'+day+'日')