题解 | 多组_字符串_T组形式
多组_字符串_T组形式
https://www.nowcoder.com/practice/35f6f4e9173943e3b3f462b697fefd8b
t = int(input())
for _ in range(t):
n = input()
s = input()
print(s[::-1])
这道题的n没什么用,就不进行数字转换了,其实n应该是数字的
多组_字符串_T组形式
https://www.nowcoder.com/practice/35f6f4e9173943e3b3f462b697fefd8b
t = int(input())
for _ in range(t):
n = input()
s = input()
print(s[::-1])
这道题的n没什么用,就不进行数字转换了,其实n应该是数字的
相关推荐