题解 | #多行输出#

多行输出

https://www.nowcoder.com/practice/952cf4f03d3a4831a175c3415778c87b

import sys

for line in sys.stdin:
    a = line.split()
    print(int(a[0]) + int(a[1]))

str1 = 'Hello World!'
str2 = 'Hello Nowcoder!'
print(str1),
print(str2)

全部评论

相关推荐

苍蓝星上艾露:这简历。。。可以试试我写的开源简历优化工具https://github.com/weicanie/prisma-ai
点赞 评论 收藏
分享
见见123:简历没有啥问题,是这个社会有问题。因为你刚毕业,没有工作经历,现在企业都不要没有工作经历的。社会病了。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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