Ad
  • Custom User Avatar

    I might be wrong but should this test below

    Test.assertEquals(findSuperMan("Hello, I am SxuxpxexrxMxaxn"), "Hi, SuperMan!", "s u p e r m a n is a SuperMan")

    be written

    Test.assertEquals(findSuperMan("Hello, I am SxuxpxexrxMxaxn"), "Are you crazy?", "s u p e r m a n is a SuperMan")

    SxuxpxexrxMxaxn removing "x"s youre lesft with SuperMan and super man is secretive right?

  • Custom User Avatar

    The test case for python are not working...you have mixed up the function name find_super_man and findSuperMan....try testing any python codebase

  • Custom User Avatar

    yeah, in the first four best practices that currently passed, s='ssuuppeerrmmaann' is considered superman. so I'm puzzled. I chose the issue incorrectly, but I don't know how to turn the issue into a question.

  • Custom User Avatar

    Because in the first case that am is not part of the Superman hidden word and in the other, an is part of the hidden superman word.

  • Custom User Avatar

    The answer is no, it's not a superman, you have several pairs of superman letters there. And why is this an issue and not a question? I see that some solutions that currently passed, would fail a test like that.

  • Custom User Avatar

    "2. Because Superman usually careful to hide the word 'Superman' in a sentence, and each of the two letters are not continuous."
    so, "ssuuppeerrmmaann" is superman ?

  • Custom User Avatar

    In basic test, s="Hello, I am SxuxpxexrxMxaxn" is superman, ingore "am"; but in random test, s="c gobinax fzdbyhmorolqyehpokwlduii s" is not superman, not ingore "na". I want to know why?