📅  最后修改于: 2022-03-11 15:00:01.828000             🧑  作者: Mango
year = int(input('Enter a year'))
month = int(input('Enter a month'))
day = int(input('Enter a day'))
date1 = datetime.date(year, month, day)