Closed bennuttall closed 7 years ago
I've cleaned up much of the Python but left the lists in for now (many to change and you may have referred to them as lists). I know you build up the code through the worksheet but would you consider using more colour variables and passing them in as arguments so as not to create very long lines?
I'd consider writing the following code:
like this:
The
show_message
line is much shorter and the whole thing is clearer.Also you should use tuples
(255, 255, 255)
rather than lists[255, 255, 255]
to denote a colour.