题解 | #多行输出#
多行输出
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://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)
相关推荐