def main(): # Get a password from the user. password = input('Enter your password: '******'That password is not valid.') password = input('Enter your password: '******'That is a valid password.')
def main(): # get a password from the user. password = input("Enter your password: "******"That password is not valid.") password = input("Enter your password again: ") print("SUCCESS: That is a valid password.")
def main(): # Pobranie hasła od użytkownika. password = input('Podaj hasło: ') # Validate the password. while not login.valid_password(password): print('Hasło jest nieprawidłowe.') password = input('Podaj hasło: ') print('Hasło jest prawidłowe.')
def main(): password = input("Enter your password: "******"That password is invalid") password = input("Enter your password") print("That is a valid password")