title: Python 3: Print multiple lines to one line
body: <p>I have searched through threads on Stackoverflow and other sites using the Google machine and nothing gives me quite what I am looking for.</p>
  
  <p>I am new programming student using Python 3 so most of my stuff is pretty basic.</p>
  
  <p>I am writing a program that allows me to encrypt and decrypt a text file using the Caeser cipher. Taking a phrase from the user and applying a user given shift.</p>
  
  <p>This is what I am working with right now:</p>
  
  <p>Some of the code is just in there as a place holder until I get further along into my program.</p>
  
  <pre><code>import string
  print ("1) Encrypt")
  print ("2) Decrypt")
  print ("3) Decrypt w/o Shift")
  
  Choice = input("Choice: ")
  
  if Choice == '1':
      message = input("Message: ")
      shift = int(input("Shift: "))
      newmsg = ''
      for char in message:
          if char.isupper():
              new = (ord(char)-ord('A')) + shift
              newmsg = chr(new+ord('A'))
              print (newmsg, end="")
          else:
              print(" ")
  
  
  elif Choice == '2':
      print ("2")
  
  elif Choice == '3':
      print ("3")
  </code></pre>
  
  <p>When I input a test phrase, such as "THIS IS A TEST", it gives me the output, with the correct encryption, but it displays it like this:</p>
  
  <pre><code>V
  J
  K
  U
  
  K
  U
  
  C
  
  V
  G
  U
  B
  </code></pre>
  
  <p>This is with a "shift" of 2</p>
  
  <p>If I add <code>end = ' '</code> to my print statement, it outputs as:</p>
  
  <pre><code>V J K U
  K U
  C
  V G U V
  </code></pre>
  
  <p>If I add <code>end = ''</code> to my print statement, it outputs as:</p>
  
  <pre><code>VJKU
  KU
  C
  VGUV
  </code></pre>
  
  <p>I am looking for an output of:</p>
  
  <pre><code>VJKU KU C VGUV
  </code></pre>
  
  <p>I know this is something silly that I am overlooking. Any help would be appreciated. Thank you much.</p>