Ad
  • Custom User Avatar

    The assertion message says 'consecutive CApitals' should equal 'consecutive C Apitals'

    That means your function returned consecutive CApitals, but it should have returned consecutive C Apitals, notice the space between the C and A in the expected return value?

    You can see the input by printing it inside your code. In this case you can just add print(s) as the first line of code in your function.

  • Custom User Avatar

    but that's not the error message I see when I run your code, it's:

    'consecutive CApitals' should equal 'consecutive C Apitals'

    showing a space between C and A