题解 | #牛牛的替换#
牛牛的替换
https://www.nowcoder.com/practice/f2a107dbb99243798d3048a672e8f747
str1=input().split() str2=input() n=str1[0] a1=str1[1] a2=str1[2] a3=str1[3] a4=str1[4] str2=str2.replace(a1,a2) str2=str2.replace(a3,a4) print(str2)
牛牛的替换
https://www.nowcoder.com/practice/f2a107dbb99243798d3048a672e8f747
str1=input().split() str2=input() n=str1[0] a1=str1[1] a2=str1[2] a3=str1[3] a4=str1[4] str2=str2.replace(a1,a2) str2=str2.replace(a3,a4) print(str2)
相关推荐
牛客57020934...:现在大厂就很迷,感觉要么就是算法+agent,要么就是开发+agent。。还是招和原来一样的岗位,只是都要求赋能agent了
_世界和平:可以偷偷吃肉,但是不要在饥饿的人面前一边吃肉一边吧唧嘴还嫌肉不好吃