the colour of a python depends on it
Answers
Answered by
3
Answer:
the colour of a python depends on it body
Answered by
1
Answer:
If you want it as a string, do
myColor = '#920310'
If you actually want it to be a Color object,, can do something like
myColor = Color('#920310')
and interpret it in Color's constructor.
If the question is can you make # not be interpreted as a comment, then the answer is no. If # wasn't a comment, it wouldn't be Python more.
You could define your own, Python-like language where a # after an = wouldn't mean a comment (since that's not valid Python anyway) and it wouldn't break any code, but you wouldn't be able to use the # syntax elsewhere without breaking code.
Similar questions