title: Make an input optional in Python
body: <p>I am trying to get two variables from one input like this:</p>
  
  <pre><code>x, y = input().split()
  print(x, y)
  </code></pre>
  
  <p>But I want to make the <code>y</code> variable optional, so if the user only inputs <code>x</code> it would only print that value. I get a <code>ValueError</code> if only inserted the x argument.</p>
  
  <p>Anyone knows how to do this?</p>