pastebin

Paste Search Dynamic
Recent pastes
sys argv
  1. import sys
  2.  
  3. def main():
  4.   if len(sys.argv) != 2:
  5.     print "Invalid args"
  6.     return
  7.   password = sys.argv[1]
  8.   builder = 0
  9.   for c in password:
  10.     builder += ord(c)
  11.   if builder == 1000 and len(password) == 10 and ord(password[1]) == 83:
  12.     print "correct"
  13.   else:
  14.     print "incorrect"
  15.  
  16. if __name__ == "__main__":
  17.   main()
Parsed in 0.009 seconds