Ad
  • Default User Avatar

    It would be good to add some additional condition that extra spaces between words should be removed. I.e., my solution, which was accepted, returns ['Abc', '', 'Xyz'] as an output for 'Abc Xyz', there are two spaces between.
    Best
    TI