解题思路:
注意事项:
参考代码:
def function(arr): list = [] for j in range(3): str = "" for i in range(3): str += arr[i][j] list.append([" ".join(str)]) return list if __name__ == '__main__': arr = [input().split() for i in range(3)] arr2 = function(arr) [print(" ".join(i)) for i in arr2]
0.0分
0 人评分