Python: from vertical line user input to list
<p>I know how to change horizontal user input to became a list.</p>

<pre><code>numbers = [int(n) for n in input().split()]
</code></pre>

<p>but not sure how to do if the user input is vertical(enter after input integer:224, 32, 5)...</p>

<p>example input:</p>

<blockquote>
  <p>224 32 5</p>
</blockquote>

<p>example output:</p>

<blockquote>
  <p>[224, 32, 5]</p>
</blockquote>

<p>As @vlad-ardelean mentioned you can create a list and by means of "append" comand add its parameter as a single element to the list. However if your given input is going to be a Python list (or any other iterable such as a tuple) you can convert it to a string for display:</p>

<pre><code>inputNumbers = input_list()
Buffer= []
Buffer += [('%03X' % ord(x)) for x in inputNumbers]
Vertical_list = []
Vertical_list= '\n'.join(map(str, Buffer))
</code></pre>

python