It seems that the quotes delimiting the string 'a,b,c' are not correct (they appear to be slanted, while they should be vertical). They probably come from a cut-and-paste from e.g. a PDF document. Retry using your keyboard to type a,b,c = var('a,b,c').