Advertisement
Guest User

Untitled

a guest
Oct 16th, 2013
3,641
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. def passwordCheck(password):
  2.     numbers = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
  3.     for x in numbers:
  4.         for y in password:
  5.             if x == y:
  6.                 print "Sorry, but due to technical limitations, passwords can not contain numbers."
  7.                 return
  8.            
  9.     print "Your password is now " +password
  10.     return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement