Create divyasree_katbin_task #34

Closed
DIVYASREE-12 wants to merge 1 commits from patch-2 into develop
pull from: patch-2
+8
View File
@@ -0,0 +1,8 @@
first_input = input().rstrip().split()
n = int(first_input[0])
m = int(first_input[1])
matrix = [input() for _ in range(n)]
result = ' '.join(''.join(c * (c.isalnum() or ' ' == c) for c in matrix[i]) for i in range(m)).replace(' ', ' ')
print(result)