From df40385f0d7e68b501cd6ed23a99bc6a2242681f Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 23 Sep 2019 12:15:51 +0200 Subject: [PATCH] 100 days until Python 2 end of life --- daze_left.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daze_left.py b/daze_left.py index 0e18614..8ef1844 100644 --- a/daze_left.py +++ b/daze_left.py @@ -7,12 +7,12 @@ print((date(2020, 1, 1) - date.today()).days, "days until Python 2 end of life.") -def daze_left(days=500): +def daze_left(days=100): d = date(2020, 1, 1) - timedelta(days=days) return f"On {d} there will be {days} days until Python 2 end of life." -for days in (200, 150, 100, 50): +for days in (100, 75, 50, 25): print(daze_left(days=days)) """