title: How do I take in a matrix formatted like this as input in python3
body: <p>I understand there are similar questions, but none had an answer for this specific type of formatting. For a codeforces problem I need to take matrix input as such:</p>
  
  <pre><code>0 0 0 0 0
  0 0 0 0 1
  0 0 0 0 0
  0 0 0 0 0
  0 0 0 0 0
  </code></pre>
  
  <p>and I want to store it as a matrix where m[i][j] is exactly the same as the input above. For example, I want to store the input as a matrix where [4][1] would correlate to 1. How do I take this input in python3? In case it is helpful, I have attached the problem here: <a href="https://codeforces.com/problemset/problem/263/A" rel="nofollow noreferrer">https://codeforces.com/problemset/problem/263/A</a>. The only other thing of note is that the matrix is always 5x5.</p>