Hacker News new | ask | show | jobs
by brbsix 3761 days ago
Agreed. My first thought was to use `new_string = long_string.title().replace(' ', '')` or the generator you mentioned.