I am very new to both programming and Pyhton and while trying to do some practice using A byte of python an Error pops up on the IDLE shell. I am using windows XP. PLease see below.
number = 30
guess == int(raw_input("enter an integer:"))
if guess == number:
print "congratulations, you ar a genius."
print "Do not get a bog head though."
elif guess < number:
print "you need to guess higher."
else:
print " No it is a little lower than that."
print "Done"
After typing the above as the book says, I get the error NameError: name 'guess' is not defined
What Am I doing wrong?