title: How to take input in an array + PYTHON?
body: <p>I am new to Python and want to read keyboard input into an array. The python doc does not describe arrays well. Also I think I have some hiccups with the for loop in Python.</p>
  
  <p>I am giving the C code snippet which I want in python: </p>
  
  <p>C code:</p>
  
  <pre><code>int i;
  
  printf("Enter how many elements you want: ");
  scanf("%d", &amp;n);
  
  printf("Enter the numbers in the array: ");
  for (i = 0; i &lt; n; i++)
      scanf("%d", &amp;arr[i]);
  </code></pre>