Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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''
I'm looking at your example for python and I see that the string (something[else]something) and ()[] is true. But in the next example the string "something 'else' something" and "''" is true. Shouldn't one of those be changed so their both either ([]) "''" or ()[] ""''?
Resolved :)
You can also follow them and have them follow you, and they are added to your list of Allies (without using clans).
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.
Submitting my code in Haskell I got:
Random Tests
Falsifiable (after 13 tests):
expected: False
but got: True
"foo banana textbook baz hola salut hola ahoj foo salut"
I don't understand why "expected: False"
By the way, how cool is the czech repubblic hallo!!
Typo on republic I believe
In the discussion below you can see that it has been discussed, there are no regex for beginners and I wanted to make some.
If you really want to test people's regex knowledge, you should put words in the test cases that contain the greeting. Like "Lucy plays a chello" would return false. Just a thought.
done
Needs random test cases :)
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!
I'm looking at the python version and I noticed the test list is blank, was this done on purpose?
This comment is hidden because it contains spoiler information about the solution
Loading more items...