본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 30319번  Advance to Taoyuan Regional

by 현장 2024. 2. 12.

-Code

from datetime import datetime

input_date = datetime.strptime(input(),  "%Y-%m-%d")
target_date = datetime.strptime("2023-10-21",  "%Y-%m-%d")
diff_date = target_date - input_date

if int(diff_date.days) >= 35:
    print("GOOD")
else:
    print("TOO LATE")