题解 | #单组_字符串#list转字符
单组_字符串
https://www.nowcoder.com/practice/e3a57b2ff6de4aefb82af98925df544e
n=int(input())
s=list(input())
z=[]
for _ in range(n):
z.append(s[n-1-_])
print("".join(z))
单组_字符串
https://www.nowcoder.com/practice/e3a57b2ff6de4aefb82af98925df544e
n=int(input())
s=list(input())
z=[]
for _ in range(n):
z.append(s[n-1-_])
print("".join(z))
相关推荐