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. :) _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/Z77PBQ4ME2U7LZAUY5WJJBZHSVASGTEB/ Code of Conduct: http://python.org/psf/codeofconduct/
