1 Answer
0
Looking at your input, I believe you can use slicing. This basically gets a substring from a string. If your input looks like this:
x=1, y=1, RGB=255, 255, 255
You would type in:
input[10:]
This basically gets the string starting from index nine, which happens to be "R".
Another option is split(), which splits your string into a list based on a character, but it won't work, because commas are separating the RGB values.