Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 16th, 2013  |  syntax: Python  |  size: 0.29 KB  |  views: 2,680  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data