题解 | #牛牛最好的朋友们#
牛牛最好的朋友们
https://www.nowcoder.com/practice/ff823846af304a9a8cbbdfe2c9e8874c?tpId=314&tags=&title=&difficulty=0&judgeStatus=0&rp=0&sourceUrl=%2Fexam%2Foj
import sys str1 = input() str2 = input() print(str1 + str2)
描述
牛牛有两个最好的朋友,他们的名字分别用input读入记录在两个字符串中,请使用字符串连接(+)帮助牛牛将两个朋友的名字依次连接在一个字符串中输出。
输入描述:
依次输入两个字符串
输出描述:
输出连接后的字符串
示例1
输入:
NiuMei NiuNeng
输出:
NiuMeiNiuNeng
查看17道真题和解析