These sequences are supposed to represent color and look something like this. Basically, colors displayed as background in the terminal.
It works normally on my terminal. But if someone else were to run the script by double-clicking on the file, by default it opens with the python one which displays it like this
←[48;2;107;53;184m ←[49m←[48;2;222;167;58m ←[49m←[48;2;180;204;110m ←[49m←[48;2;161;60;55m ←[49m
←[48;2;107;53;184m ←[49m←[48;2;50;146;173m ←[49m←[48;2;180;204;110m ←[49m←[48;2;161;60;55m ←[49m
.....
How can I fix this? I want the colors to be visible if someone else runs the program.