title: How can I suppress the newline after a print statement?
body: <p>I read that to suppress the newline after a print statement you can put a comma after the text. The example <a href="https://stackoverflow.com/a/4390955/1343005">here</a> looks like Python 2. <strong>How can it be done in Python 3?</strong></p>
  
  <p>For example:</p>
  
  <pre><code>for item in [1,2,3,4]:
      print(item, " ")
  </code></pre>
  
  <p>What needs to change so that it prints them on the same line?</p>