title: How do i combine 2 lines in a text file in python?
body: <p>I need help combining 2 lines together in a text file, so for example:
  My text file looks something like this:</p>
  
  <p>Line 1 </p>
  
  <p>Line 2</p>
  
  <p>Line 3</p>
  
  <p>I want to combine Line 2 into line 1 then print the content of the text file so it looks something like this:</p>
  
  <p>Line 1 
  Line 2</p>
  
  <p>Line 3</p>
  
  <p>I know how to print the content of the file using:
  Print file.read()</p>
  
  <p>I just don’t understand how to combine the first 2 lines.</p>