Ad
  • Custom User Avatar
  • Custom User Avatar

    In the second example, the double-quotes are not part of the string itself. The only pair of characters used there are single quotes. In each of those examples in Python double quotes are used to mark the strings as part of Python syntax, they are not included in the string they define.

    So, for these two examples:

    Example 1: string to be checked is (Sensei [says] yes!); opening/closing characters are ()[]

    Example 2: string to be checked is Sensei says 'yes'!; opening/closing characters are ''

  • Custom User Avatar
  • Custom User Avatar

    You can also follow them and have them follow you, and they are added to your list of Allies (without using clans).

  • Custom User Avatar

    This feature is already implemented in the current system by the way of Clans, I don't really know the process because I don't use this feature personally but from what I gather you go to Account Settings or https://www.codewars.com/users/edit and then you can type in a clan name, so everyone else with the same clan name will become your ally and you can see each others progress.

  • Custom User Avatar

    In the discussion below you can see that it has been discussed, there are no regex for beginners and I wanted to make some.

  • Custom User Avatar

    That's how it was when I first did the kata but I thought I had fixed that when I edited the kata originally (Python version). I think that was my mistake.

    I edited it again now to show the example test cases. Hopefully they will show up for you now as well!

  • Custom User Avatar

    Hi kenku102, I found what the issue was. The pre-loaded values for walk and run were integers instead of floats, that's why your solution was failing at that test.

    I have updated so it should work now! :)

  • Custom User Avatar

    Hi kenku102, that test case (test#4) will only pass if the solution accounts for the walking that you would have to do before you get on the bus and after you get on the bus. If the solution doesn't account for this walking, the test will fail.

    Can you please post your solution as a spoiler comment so I can have a look at it?