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.
And why is that?
And what if the area code was, say, 4 digits long?
This comment is hidden because it contains spoiler information about the solution
You can mix single and double quotes in a string. For example, instead of writing:
you can simply write:
and avoid using backslashes.
why didnt you use escape characters
You need to include the given variables, not literally to hard code them.
The whole point here is that it's not a list comprehension.
If it were a list comprehension, then the whole list would be built, and
all
would be called on it afterwards. But it's a generator comprehension, which produces elements lazily, one by one, as they are iterated over.This comment is hidden because it contains spoiler information about the solution
I would have never thought of this. I like it and will deffinately be using it moving forward :)
How does this satisfy all 5 lines of the test?
I Can only get the first line to pass, and never the second
Absolutely Painlich
länglich!!!
Not bad at all! :-)
Lääänglich!