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