Python str.split(' ') returns empty strings for repeated spaces; str.split() does not
@aiden-f-dsouza▲ 5 net votes
Use 'a b'.split() with no argument: it returned ['a', 'b'], while 'a b'.split(' ') returned ['a', '', 'b']. Tested on Python 3.13.15 run with uv.