Tokxatron

From Programpedia

Revision as of 22:03, 20 May 2008 by TomasBat (Talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
name = raw_input("What is your name? ") 
print "Hello", name, "- welcome to Tokxatron."

setpassword = raw_input("Please set a password:") 
print "Your password is", setpassword, "do not forget it."

password = raw_input("Enter password: ") 

if name == name:
 if password == setpassword:
    print 'Password correct, welcome to Tokxatron.'

 else:
    print 'Password incorrect, access denied.'

else:
    print 'Password incorrect, access denied.'

Personal tools