Tokxatron
From Programpedia
(Difference between revisions)
Revision as of 22:53, 8 April 2008
name = raw_input("What is your name? ") print "Hello", name, "- please enter a valid password; typing clue will display the password clue." password = raw_input("Enter password: ") print "Verification of password", password, "taking place - please wait." if password == '116': print 'Password correct, welcome to Tokxatron' if password == 'clue': print 'Duration of the Hundred Years War - in years' password = raw_input("Enter password: ") print "Verification of password", password, "taking place - please wait." if password == '116': print 'Password correct, welcome to Tokxatron' else: print 'Password incorrect, access denied' else: print 'Password incorrect, access denied' if password == '116': print 'Now that you remember the password, be careful and never forget it again!'