Skip to content

Commit

Permalink
Reto #12 - Python
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoatrs committed Aug 4, 2023
1 parent fb69fd1 commit ede61cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Retos/Reto #12 - VIERNES 13 [Fácil]/python/marcoatrs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from datetime import datetime


def check_friday(month: int, year: int) -> bool:
day = datetime(year=year, month=month, day=13)
return day.weekday() == 4


print(check_friday(1, 2023))
print(check_friday(2, 2023))

0 comments on commit ede61cf

Please sign in to comment.