The most brilliant python script ever written

Posted by on Jul 20, 2010 in Python | 0 comments

#!/usr/bin/python -tt

# The most brilliant (Python) script ever created.
# Fun for the whole family.

import sys

def main():

  print ''
  dumbUser = 1

# Ask the user if (s)he's dumb
  while(dumbUser):
    answer = raw_input('Are you dumb? ')
    if answer == 'yes':
      sys.exit(0)

if __name__ == '__main__':
  main()

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>