Skip to content Skip to sidebar Skip to footer

Invalid Syntax---python

I can't figure out why it is saying invalid syntax for the word Options in all of my If statements Options = raw_input('Would you like to Square, Cube, Multiply, or Divide? ')

Solution 1:

Python is case-sensitive. If needs to be if. Your code also needs to be indented properly.


Post a Comment for "Invalid Syntax---python"