import datetime as DTtoday = DT.date.today()week_ago = today - DT.timedelta(days=7)print week_ago
Standard input is empty
2019-10-14
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!