Fix syntax error in Python code.