예제 #1
0
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.')
예제 #2
0
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.")
예제 #3
0
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.')
예제 #4
0
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.')
예제 #5
0
def main():
    password = input("Enter your password: "******"That password is invalid")
        password = input("Enter your password")
    print("That is a valid password")