New to Python: getting NameError in variable
<p>NameError: name 'Brandon' is not defined</p>

<p>I have a simple username/password program in Python 2.7.2 and keep getting this dumb error message. </p>

<p>Here's my code:</p>

<pre><code>Username = input ("Please enter your username: ")
if Username == brandon:
    password = input ("Correct! Please enter password: ")

    if password == 42:
            print "Access granted!"

    else:
            print "Wrong Password!"
else:
    print "Wrong username"
</code></pre>
