title: Why \n in python gives two blank lines?
body: <p>I can't understand why \n gives two blank lines in the output. For example:</p>
  
  <pre><code>&gt;&gt;&gt; def my_function():
      print("ABC")
      print("\n")
      print("DEF")
  
  
  &gt;&gt;&gt; my_function()
  ABC
                        # First blank line
                        # Second blank line
  DEF
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Can anyone explain what happens here and how to fix it?</p>