title: Can't import data from files into one line
body: <p>I'm currently making this program that was given to me by my school and it's to write your own name in ASCII text art but that was just copying and pasting. I am trying to make it so the user enters an input and there their name is output. My program currently works except it doesnt stay on one line. </p>
  
  <p>My code:</p>
  
  <pre><code>name = input("What is your name: ")
  
  splitname = list(name)
  
  for i in range(len(splitname)):
      f=open(splitname[i] + ".txt","r")
      contents = f.read()
      print(contents)
  </code></pre>
  
  <p>And this is what it outputs:
  <a href="https://i.stack.imgur.com/E4c9X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E4c9X.png" alt="output"></a></p>
  
  <p>I would like to get it all onto one line if possible, how would I do so?</p>