title: Console.ReadLine Method in python
body: <p>I am a total beginner to python and coding. I Was just wondering if there is a way for python to read what I've typed into the console, For example: If it prints out a question, I can answer with many choices. This is what I've tried yet.</p>
  <pre><code>`answer = input(&quot;Vilken?&quot;)
  if answer.lower().strip() == &quot;1&quot;:
      print(&quot;Okej! (1)&quot;)
  elif answer.lower().strip() == &quot;2&quot;:
      print(&quot;Okej! (2)&quot;)
  elif answer.lower().strip() == &quot;3&quot;:
      print(&quot;Okej! (3)&quot;)`
  </code></pre>
  <p>I got the code from a guy on youtube, for some reason, it doesn't read what I'm typing in.
  I am trying to store what the player types on a variable, so I can later use it. In c# I used
  <code>string (variable name) = Console.Readline()</code> If there is a way to do this is python, please let me know.</p>