title: How to do something till an input is detected in python3?
body: <p>I want to execute a piece of code till the user enters an input(detects a <strong>random</strong> keypress), how do I do that in Python 3.x?</p>
  <p>Here is the pseudo-code:</p>
  <pre><code>while input == False:
      print(x)
  </code></pre>