题解 | 多组_字符串_T组形式
多组_字符串_T组形式
https://www.nowcoder.com/practice/35f6f4e9173943e3b3f462b697fefd8b
t = int(input())
for _ in range(t):
n = int(input())
s = input()
print(s[::-1])
多组_字符串_T组形式
https://www.nowcoder.com/practice/35f6f4e9173943e3b3f462b697fefd8b
t = int(input())
for _ in range(t):
n = int(input())
s = input()
print(s[::-1])
相关推荐