• weird in python - find my mistake

Question related to mission Roman Numerals

 

When I created a dictionary of elements Python-shell give me SyntaxError for some elements. After deleting them everything fine. I am manually add all of deleted elements and all good (see attached file). Why does it happened? Sorry for my English