题解 | #出生日期输入输出#

出生日期输入输出

http://www.nowcoder.com/practice/4a4a9dd1edb6453ba4a0432319200743

import datetime

brith = input()
print("year={}\nmonth={}\ndate={}".format(brith[:4],brith[4:6],brith[-2:]))
全部评论

相关推荐

评论
2
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务