Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import string
- user = input("Hello, please enter your name ")
- print("Hello " + user + " " )
- password = input(user + " could you please enter a password with a length of at least 6 characters long with one of each: letters numbers and capital letters")
- if len(password)>=6:
- print("ok")
- else:
- print("sorry " + user + " your password has not met the requirements")
- if int(1) in str(password):# i need to identify if there is a number in this password!
- print ("great")
Add Comment
Please, Sign In to add comment