if-else structure
print "password please\n" password = raw_input("Enter your password: ") if password == "name": print "Access Granted" else: print "Access Denied"