title: How to get a new input after adding end='' in python
body: <p>When try to print the output on same line python using end=''
  but after printing the same line i want get the output from new line</p>
  
  <p>Here is my code </p>
  
  <pre><code>loop=int(input())
  while loop&gt;0:
      in_val=input()
      leni = len(in_val)
      while leni&gt;0:
          print(in_val[leni-1],end='') # Here printed the same line 
          leni-=1 # Here the loop ends
          #in_val=input() I want to get this from new line not on same line
      loop-=1
  </code></pre>
  
  <p>Any one pls give a clue or something</p>
  
  <p>Input must be like following:</p>
  
  <pre><code>2
  234
  542
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>432
  542
  </code></pre>