2 ms·
Agreed. My first thought was to use `new_string = long_string.title().replace(' ', '')` or the generator you mentioned.
by brbsix 11y ago
Agreed. My first thought was to use `new_string = long_string.title().replace(' ', '')` or the generator you mentioned.