from datetime import date a = date(2001,2,18) b = date(2001,2,28) print(b-a)
python 日期的减法
原文:https://www.cnblogs.com/sea-stream/p/9993505.html