in reply to syntax error with constant

Not the answer to your question, rather than the approach which won't give such question :-),

Why name your constants like a,b,k or even K, Q etc.. have it some meaningful name like KING or QUEEN :-)

Said that, nothing wrong against your curiosity.

artist