I have code that checks if there's any space or is it just empty. I tried remaking the =, "", '', ==. But I didn't succeed. What's the problem? When I'm entering the password its always says the error, that I have in print function.

```
while True:
    password = getpass.getpass("~ Please pick a password, for user - {n}\n".format(n=name))
    fontas = " "
    fontas2 = ' '
    if fontas and fontas2 in password:
        print("~ Password can't contain a spaces!\n")
        continue
    else:
        break

```

EDIT\*
I'm adding a GIF. Which Shows you how this works now, when i changed a code a bit.

First try I'm trying to make a space, after I'm not typing anything, And the last time i put normal keyword - ffawt

\*I Cannot add GIF Files, So I'm uploading link in Gyazo platform.

LINK - [enter link description here](https://gyazo.com/afd9566c44566f1978ef4bf76cd64534)