title: How to remove a blank line in python
body: <p>This is my code for a times table:</p>
  
  <pre><code>Y=int(input(""))
  X=int(input(""))
  
  for i in range(1,Y+1):
      print("")
      for j in range(1,X+1):
          print("{:&gt;4}".format(str(i*j)),end="")
  </code></pre>
  
  <p>This is the output when X=3 and Y=2:</p>
  
  <pre><code>
     1   2
     2   4
     3   6
  </code></pre>
  
  <p>The output is correct but there is an extra spacing at the top that i need to get rid of.</p>
  
  <pre><code>   1   2
     2   4
     3   6
  </code></pre>
  
  <p>This is what i would like to get. Can anyone please help with this problem.</p>