Guest User

Untitled

a guest
Oct 24th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. import string
  2. user = input("Hello, please enter your name ")
  3. print("Hello " + user + " " )
  4. 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")
  5. if len(password)>=6:
  6. print("ok")
  7. else:
  8. print("sorry " + user + " your password has not met the requirements")
  9. if int(1) in str(password):# i need to identify if there is a number in this password!
  10. print ("great")
Add Comment
Please, Sign In to add comment