I am rewriting an old script to get away from C, and I get a syntax error on the second line. Code:
- Code: Select all
twopq = raw_input("Do you have two ordered pairs?\n> ")
if twopq.lower() in ['n', 'no']:
print "Why are you using slope-intercept form? Get out."
elif twopq.lower() in ['y', 'yes']:
I can't find anything wrong with that.