Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
378 B
1
Indexable
Never
username = input("Username: ")
while len(username) < 8:
    print("Username cannot be shorter than eight characters.")
    username = input("Username again: ")

password = input("Password: ")
while len(password) < 8:
    print("Password cannot be shorter than eight characters.")
    password = input("Password again: ")
    
print("Username:", username, "Password:", password)