“Devil组”引证GPT后的撰写:问题可能出在计算"today"的方式上。建议使用以下语句替换原有的导入方式:
from datetime import date # 获取当前日期 today = date.today()