Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. def NEA():
  2. def Username():
  3. name_input = str(input("Please Type in your first name: "))
  4. age_input = int(input("How type in your age: "))
  5. username = name_input[0:1].upper() + name_input[1:3] + str(age_input)
  6. print(username)
  7. Username()
  8. def Password():
  9. password_input = str(input("Please type in your password: "))
  10. if len(password_input) > 25 or len(password_input) <= 0 or len(password_input) < 5:
  11. print("Your password has to be at least 5 characters, and must have a maximum of 25 characters!")
  12. if password_input.lower():
  13. password_input[0:1].upper()
  14.  
  15.  
  16. Password()
  17. NEA()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement