title: How can I convert a list comprehension to a normal for loop?
body: <p>I'm trying to learn how I can convert Python list comprehensions to a normal for-loop.
  I have been trying to understand it from the pages on the net, however when I'm trying myself, I can't seem to get it to work.</p>
  <p>What I am trying to convert is the following:<br>
  1:</p>
  <pre><code>n, m = [int(i) for i in inp_lst[0].split()]
  </code></pre>
  <p>and this one (which is a little bit harder):<br>
  2:</p>
  <pre><code>lst = [[int(x) for x in lst] for lst in nested[1:]]
  </code></pre>
  <p>However, I am having no luck with it.</p>
  <p><strong>What I have tried:</strong><br>
  1:</p>
  <pre><code>n = []
  for i in inp_lst[0].split():
      n.append(int(i))
  print(n)
  </code></pre>
  <p>If I can get some help, I will really appreciate it :D</p>