We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I did this a liltte differently. First difference being that I made an empty 2D-list of the matrix from the given size. Then I place each character in the correct position using math x+(n*y). And finally join with a regex subsutition. Also, \w & \W are great replacements for all of that text the rest of you have.
Matrix Script
You are viewing a single comment's thread. Return to all comments →
I did this a liltte differently. First difference being that I made an empty 2D-list of the matrix from the given size. Then I place each character in the correct position using math x+(n*y). And finally join with a regex subsutition. Also,
\w
& \W are great replacements for all of that text the rest of you have.