title: How do I create an array with infinite elements or something, in python?
body: <p>I am trying to create a python array that can hold as many strings as the user enters. I am trying to implement it in a loop, like this :</p>
  
  <pre><code>(Loop:)
  
  Enter the string: 
  
  array[1] = (string entered by user)
  
  Enter the next string:
  
  array[2] = (second string entered by user)
  
  ....
  
  Enter the nth string:
  
  array[n] = (nth string entered by user)
  </code></pre>
  
  <p>How can I achieve this? I have heard of dynamic arrays and lists and stuff, but I can't figure them out.</p>
  
  <p>Thank you in advance.</p>