题解 | #多行输出#
多行输出
https://www.nowcoder.com/practice/952cf4f03d3a4831a175c3415778c87b
str1='Hello World!'
str2='Hello Nowcoder!'
str=f'{str1}\n{str2}'
print(str)
多行输出
https://www.nowcoder.com/practice/952cf4f03d3a4831a175c3415778c87b
str1='Hello World!'
str2='Hello Nowcoder!'
str=f'{str1}\n{str2}'
print(str)
相关推荐
查看23道真题和解析