while True:
    username = input("Enter an username: ")
    password = input("Enter a password: ")
    if username == password:
        print("The username and the password cannot be the same")
    else:
        break
