title: I want to print on the same line but something isn't working
body: <p>This is an excerpt from a simple blackjack game that i am trying to make.</p>
  
  <pre><code>handpc= ['5H']
  
  def carddisplaypc(cardview):
      print ('''
  ---------
  |%s     |
  |       |
  |     %s|
  ---------
  ''' %  (cardview[0],cardview[0]),end='')
  
  carddisplaypc(handpc)
  carddisplaypc(handpc)
  </code></pre>
  
  <p>The thing is i wanted the 'cards' to be displayed side by side, but i wasn't able to do so nor i found anything that was useful to my specific problem.</p>
  
  <p>Thanks in advance for any explanation.</p>