
Oct. 24, 2019
6:31 a.m.
Todd wrote:
Compare that to: colors2 = "cyan,forest green,burnt umber".split(',') or, if you follow pep8-style commas: colors2 = "cyan, forest green, burnt umber".split(', ') This is one of the many cases where being able to specify the delimiter helps.
That's a very useful suggestion. :)