title: Does python takes enter as an input?
body: <p>I executed a program to input n space-separated integers as input, create a tuple, and the use hash() on them.</p>
  
  <pre><code>print(hash(tuple(map(int, input().split(" ")))))
  </code></pre>
  
  <p>I am using Pycharm IDLE.
   While execution after entering the numbers and pressing I get the answer in one line in the following code:</p>
  
  <pre><code>print(input()==0 or hash(tuple(map(int,input().split()))))
  </code></pre>
  
  <p>But After I press enter in the following code, the pointer moves to the new line and then I have to press enter again.</p>
  
  <p>My question is :
  1) Why do I have to press enter twice in the second one.
  2) Does Python takes enter as an input or as a null input.</p>
  
  <p>A dry run would be clarify a lot of my doubts. </p>