6 ms·
>Sorry, I'm not sure I understand what `.split(None)` would do? Reading the docs [0] it seems `.split(None)` returns an array of the indivual characters withou
by bear8642 1y ago
>Sorry, I'm not sure I understand what `.split(None)` would do?
Reading the docs [0] it seems `.split(None)` returns an array of the indivual characters without whitespace - so something like [c in list(s) if not whitespace(c)]
[0] https://docs.python.org/3.3/library/stdtypes.html?highlight=split#str.split https://docs.python.org/3.3/library/stdtypes.html?highlight=...