Leaving out symbols, such as colons and brackets, will also cause a SyntaxError.
SyntaxError
Make sure to pick if, followed by cost.
if
cost