Python Forum

Full Version: Why doesn't this WORK?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please help me find the problem. Once I verify the password nothing appears.

print("Hello, welcome to WxW's website.")
import time
time.sleep(0.3)
print("Please register here.")
import time
time.sleep(0.3)
username = input("What would you like your user name to be? ")
password = input("Please enter a password. ")
verifypassword = input("Please confirm your password. ")
if password == password :
    print(" ")
else :
    print("Please re-enter your password.")
if password == password :
   print(" ")
the condition is always true, so it always prints single space, that visually appears as "nothing happens"