title: mimic C ++ behavior in python 3
body: <p>I just saw this behavior in c ++:</p>
  
  <pre><code>cout &lt;&lt; "\ nEnter two numbers:";
  cin &gt;&gt; num &gt;&gt; num2;
  </code></pre>
  
  <p>In this way it is not necessary to do:</p>
  
  <pre><code>cout &lt;&lt; "\ nEnter a number:";
  cin &gt;&gt; num;
  
  cout &lt;&lt; "\ nEnter another number:";
  cin &gt;&gt; num2;
  </code></pre>
  
  <p>So with that, the following question was generated:</p>
  
  <p>How can I imitate this behavior in python3?</p>
  
  <p>I've been trying to support myself with functions like range, but I still don't get the same behavior that happened in c ++</p>
  
  <p>Does anyone know how I can achieve it?</p>
  
  <p>Thank you</p>