The timedelta object from the datetime module allows you to subtract and add any number of days from a date object.
You can also read about it if you prefer on:
https://renanmf.com/adding-days-to-a-...
https://renanmf.com/subtract-days-fro...
📚 Buy my book Python Fundamentals
https://renanmf.com/products/
📸Instagram: / renanmouraf
🌎 Website: https://renanmf.com/
🐦 Twitter: / renanmouraf
📝 LinkedIn: / renanmouraf
👍 Please leave a LIKE and SUBSCRIBE for more content! 👍
⭐️ Tags ⭐️
- Python
#️⃣ Hashtags #️⃣
#Python