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.
The C++ solutions do not seem to behave as described in the instructions, or the instructions are too vague.
Output for "1234567891011" prints all lines except the one starting with "0" and the last line "1". Why does this test leave off the last digit when the example tests do not describe this behavior?
Here is the Output for the test case that I'm referring to:
Expected: equal to "
1234567891011
234567891011
34567891011
4567891011
567891011
67891011
7891011
891011
91011
1011
11"
Actual: "
1234567891011
234567891011
34567891011
4567891011
567891011
67891011
7891011
891011
91011
1011
11
1"
edit: I thought it would keep the formatting on the example output :/ sorry
you don't have to do anything other than provide the regex
Thank you, I think I get what I need to do now. I need to figure out a regular expression using the regex metacharacters that will return True for a valid password
This comment is hidden because it contains spoiler information about the solution
This is the initial code for Python:
You only write the regular expresion between the quotes, nothing more.
This is my first experience with regular expressions, and I don't understand this kata. I have seen some comments stating that you must simply assign a regular expression to the regex = "" that the kata begins with in the console. But when I fill it out with something like regex = re.search('aeiou', string), I don't know what I'm supposed to pass as the string value. Can someone please help me with the syntax here?
edit: I'm solving this kata in Python