title: How to input elements of Matrix in Python using List?
body: <p>I simply want to take input in a 2D array(list), with dimensions n*m. For example, </p>
  
  <p>1 2 3</p>
  
  <p>4 5 6</p>
  
  <p>1 2 3</p>
  
  <p>7 8 9</p>
  
  <p>for 4*3 matrix.</p>
  
  <p>I want the input in the same format too. spaces between same row elements and 'Enter' between two rows.
  New to python. have been searching for relevant soln. but didn't find any.
  Thanks in advance.</p>