📅  最后修改于: 2022-03-11 14:45:26.538000             🧑  作者: Mango
# Use either
import datetime
datetime.datetime.timedelta()
# or
from datetime import datetime
datetime.timedelta()
# But do not use (as you currently are):
from datetime import datetime
datetime.datetime.timedelta()