title: Use sys.stdin.readlines() to create an array of integers
body: <p>I want to create an array out of an input so I use sys.stdin.readlines(). My inputs are multiple integers looking like this:</p>
  
  <pre><code>random number
  random number
  random number 
  random number
  </code></pre>
  
  <p>However sys.stdin.readlines() creates an array and turns all these random numbers into strings. The array looks like this:</p>
  
  <pre><code>Array = ['random number\n','random number\n','random number\n','random number\n']
  </code></pre>
  
  <p>That is not what I want. I want the input to be turnt into an array but I still want the array entries to be integers.</p>
  
  <p>I use python so the arrays I am talking about are actually lists.</p>