9 lines
365 B
Python
9 lines
365 B
Python
def is_the_same_day(first_day, second_day):
|
|
if first_day.day == second_day.day and first_day.month == second_day.month and first_day.year == second_day.year:
|
|
return True
|
|
return False
|
|
|
|
def is_the_same_month(first_day, second_day):
|
|
if first_day.month == second_day.month and first_day.year == second_day.year:
|
|
return True
|
|
return False |