You are viewing a single comment's thread. Return to all comments →
Easy solution
tekst = "" for i in range(m): for j in range(n): tekst += matrix[j][i] print(re.sub(r'(?<=[a-zA-Z0-9])[^a-zA-Z0-9]+(?=[a-zA-Z0-9])', ' ', tekst))
Seems like cookies are disabled on this browser, please enable them to open this website
Matrix Script
You are viewing a single comment's thread. Return to all comments →
Easy solution