title: trouble with using list comprehensions & input()
body: <p>Trying to write a list comprehension that can iterate through a string from input() and create a list with each character of the string having it's own index.</p>
  
  <p>In essence, I want a function that does this:</p>
  
  <pre><code>x = ["00.00"[h] for h in range(len("00.00"))]
  print(x)
  &gt; ['0', '0', '.', '0', '0']
  </code></pre>
  
  <p>When putting an actual string ("00.00") in there, python does exactly what I want it to do. But it refuses to take an input() the same way:</p>
  
  <pre><code>&gt;&gt;&gt; x = [input()[h] for h in range(len(input()))]
  &gt; what
  
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "&lt;stdin&gt;", line 1, in &lt;listcomp&gt;
  IndexError: string index out of range
  </code></pre>
  
  <p>The word "what" in there is what i inputted, but it does the same for basically everything else I've put in. I'm not sure what's so different about input() that changes how the indexes work. What is it?</p>