Skip to content

Commit

Permalink
adding exercise files
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPughe committed Jun 17, 2024
1 parent f391ed7 commit 6a17f2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions 100daysofcode.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from datetime import date

start = date(2020, 1, 1)
today = date.today()
delta = today - start

if (delta.days < 101):
print("Today is day {}".format(delta.days))
else:
print('100 Days of Code sprint has ended')

0 comments on commit 6a17f2c

Please sign in to comment.