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 list is sorted. I think you can avoid using the set.
This comment is hidden because it contains spoiler information about the solution
very clever way to put !
clever use of set
This does not fulfill the requirements at all.
Definitely not best practice. This fails to check if the correct amount of numbers are in each place, and I see what they were trying to do with the optional area code, but if you entered a phone number without an area code, it would fail, too, as you need a space before the phone number in that case.
ok
This comment is hidden because it contains spoiler information about the solution
The problem statement said not to mutate the nodes. This does that, if I'm thinking correctly...
ohh!! ok cool. thank you
how do you slice into the list with non interger indices.
dont you get the following error:
TypeError: list indices must be integers or slices, not float
Yiah babe
I think so too
Can someone please explain this solution?
Thanks!
This comment is hidden because it contains spoiler information about the solution
Loading more items...