title: Python 3 - can't delete a space in a string using replace
body: <p>I am running into a weird problem.  I load all usernames from the database, then I replace any space found in the username with nothing, so it gets remove.  but it's not working, the space stays there! Here is my code</p>
  
  <pre><code>users = User.query.all()
  for u in users:
    username = u.username
    print (username)
    new_username = username.replace(" ","")
    print (new_username)
  </code></pre>
  
  <p>as an exemple, the first print returns:
  "MavNandi 7"
  and the second return the same
  "MavNandi 7"</p>
  
  <p>The space stays there.  I am baffled.  Any clue?</p>