Ad
  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    I passed all the tests except two which give the following error:

    ['bdf', 'hjl', 'nps', 'eek'] should equal ['bdf', 'hjl', 'nps', 'eek', '']
    ['bdfh', 'jlnp', 'seek', '1234'] should equal ['bdfh', 'jlnp', 'seek', '1234', '']

    The only difference being '' at the end which doesn't even count as a space.
    Funny enough, there's a similar error that fixes itself after I attempt again.
    Please any advice on how to fix this?

  • Custom User Avatar

    This part of the description?
    (quotes added in order to see the strings and the spaces, your program won't write these quotes, see Example Test Cases)

    My result: ['bdf', 'hjl', 'nps', 'eek']
    The expected result: ['bdf', 'hjl', 'nps', 'eek', '']

  • Custom User Avatar

    I passed all the tests except two which give the following error:

    ['bdf', 'hjl', 'nps', 'eek'] should equal ['bdf', 'hjl', 'nps', 'eek', '']
    ['bdfh', 'jlnp', 'seek', '1234'] should equal ['bdfh', 'jlnp', 'seek', '1234', '']

    The only difference being '' at the end which doesn't even count as a space.
    Funny enough, there's a similar error that fixes itself after I attempt again.
    Please any advice on how to fix this?