if block not evaluating as expected
<pre><code>answer == raw_input("Do you like python?")
if answer == "yes":
      print "That is great"
elif answer == "no"
      print "that is disappointing"
else:
      print "that is not the answer to my question"
</code></pre>

<p>The problem with this code is that python 2.7.2 ignores my first two conditions, but responds to the last one. Why is this? I am about two and half weeks new into learning python and I have been looking for other resources. Here is the reference to where I originally got the info from <a href="http://www.upriss.org.uk/python/PythonCourse.html" rel="nofollow">http://www.upriss.org.uk/python/PythonCourse.html</a></p>
