题解 | #单组_二维字符数组#
单组_二维字符数组
https://www.nowcoder.com/practice/2316c1fedff14a8d91694a26c9da3310
import sys
def reverse_s(s):
return s[::-1]
def reverse_m(m,n):
result = []
for i in range(n,0,-1):
print((m[i-1]))
return result
i = 0
s = []
for line in sys.stdin:
a = line.split()
if i==0:
n,m = map(int,a)
else:
s.append(reverse_s(a[0]))
i+=1
reverse_m(s,n)

汤臣倍健公司氛围 388人发布