Store multi-line input into a String (Python)
<p>Input:</p>

<pre class="lang-none prettyprint-override"><code>359716482
867345912
413928675
398574126
546281739
172639548
984163257
621857394
735492861
</code></pre>

<p>my code :</p>

<pre><code>print("Enter the array:\n")   
userInput = input().splitlines()
print(userInput)
</code></pre>

<p>my problem here is that, <code>userInput</code> only takes in the first line value but it doesn't
seem to take in values after the first line?    </p>
