How does raw_input().strip().split() in Python work in this code?
<p>Hopefully, the community might explain this better to me. Below is the objective, I am trying to make sense of this code given the objective. </p>

<p>Objective: Initialize your list and read in the value of  followed by  lines of commands where each command will be of the types listed above. Iterate through each command in order and perform the corresponding operation on your list.</p>

<p>Sample input:</p>

<pre><code>12
insert 0 5
insert 1 10
etc.
</code></pre>

<p>Sample output: </p>

<pre><code>[5, 10]
etc.
</code></pre>

<p>The first line contains an integer, n, denoting the number of commands. 
Each line  of the  subsequent lines contains one of the commands described above.</p>

<p>Code: </p>

<pre><code>n = int(raw_input().strip())

List = []
for number in range(n):
args = raw_input().strip().split(" ")
if args[0] == "append":
    List.append(int(args[1]))
elif args[0] == "insert":
    List.insert(int(args[1]), int(args[2]))
</code></pre>

<p>So this is my interpretation of the variable "args." You take the raw input from the user, then remove the white spaces from the raw input. Once that is removed, the split function put the string into a list. </p>

<p>If my raw input was "insert 0 5," wouldn't strip() turn it into "insert05" ?</p>