Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...

Code Snippet

while True:
    print("Select a new password - numbers and letters only please:")
    if password.isalnum(): #note: make you spell it right i-s-a-l-n-u-m
    print("Passwors can only have letters and letters")

Try it yourself