This is an old revision of the document!
Common easily overlooked mistakes
Multiplication
When multiplying two numbers,
number3=(number1)(number2)
will throw an error. Asterisks must be used:
number3=number1*number2
Raising number to a power
Raising to a power with a caret
numraisedton = num^n
will throw an error. You need to use double asterisks:
numraisedton = num**n
Indentation issues
If an indentation error is given, select the entire indented region where the indentation error is probably located and
- Format > Dedent Region ( ⌘[ )
- Format > Indent Region ( ⌘] )