1 2 3 4 5 import datetime d=input() day=datetime.datetime.strptime(d,'%Y %m %d') dd=day+datetime.timedelta(days=1) print (dd.year,dd.month,dd.day )
1 2 3 4 5
import datetime d=input() day=datetime.datetime.strptime(d,'%Y %m %d') dd=day+datetime.timedelta(days=1) print (dd.year,dd.month,dd.day )