Invalid key beammp. Why do I get "SyntaxError: invalid syntax" in a l...