题解 | #牛牛的年龄#
牛牛的年龄
http://www.nowcoder.com/practice/31ee4189ea294e45ae1961fd9d405c9f
from datetime import datetime
str1 = input()
str2 = input()
birtrhday = datetime.strptime(str1,'%Y%m%d %H:%M:%S')
curr_day = datetime.strptime(str2,'%Y%m%d %H:%M:%S')
print(birtrhday)
print(curr_day)
print((curr_day-birtrhday).days)
str1 = input()
str2 = input()
birtrhday = datetime.strptime(str1,'%Y%m%d %H:%M:%S')
curr_day = datetime.strptime(str2,'%Y%m%d %H:%M:%S')
print(birtrhday)
print(curr_day)
print((curr_day-birtrhday).days)