Skip to content

Commit

Permalink
100 days until Python 2 end of life
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Sep 23, 2019
1 parent cb5b85f commit df40385
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daze_left.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

"""
Expand Down

0 comments on commit df40385

Please sign in to comment.