title: How to get multiline input with empty lines - Python
body: <p>I can get Multiline input with this loop but it stops as soon there is an empty line</p>
  
  <pre><code>    lines = []
      line = input()
      while True:
          if line:
              line = input()
              lines.append(line)
  
          else:
              return lines
              break
  </code></pre>
  
  <p>For example how could i get an input of </p>
  
  <pre><code>1 cup butter, melted
  3 cups white sugar
  1 tablespoon vanilla extract
  4 eggs
  
  
  1 1/2 cups all-purpose flour
  1 cup unsweetened cocoa powder
  1 teaspoon salt
  1 cup semisweet chocolate chips 
  </code></pre>