I'm building a CMD type application which asks user for their wanted username, password.
And only one thing that leaved me worried is what if the user types their username as - "Banana Money 610" How could I make those spaces not to be allowed? I researched the forum, and found out this - That I could use some type of `print(input("Please input a command: ").upper().replace(" ", ""))` This is an example. So how I use this on all of those lines? I mean, I need to save those to a MySQL If is it possible, I wanted to make a local save, but I think instead I'm going to use a MySQL if that's possible. But question is it?

```
name = input("~ Please enter Your name below\n")
password = getpass.getpass("~ Please pick a password, for user - {n}\n".format(n=name))
print("~ Your password is - " + password)
city = input('~ Where are you from?\n* NOTE - You should type correctly. * account recovery.\n')
gmail = input("~ Please add your GMAIL Address.\n")

```