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.
No more hard coding for you as there are now random tests.
Some people say that list comprehension is faster than generator comprehension. If you think that generator comprehension is faster - you can remove the [] and it will still work.
Your code has a bug. The index is zero based.
This comment is hidden because it contains spoiler information about the solution
[] not need
[] not need
for list comprehension and then make list to string with "".join( [list comprehension ] )
for list comprehension and then make list to string with "".join( [list comprehension ] )
for list comprehension and then make list to string with "".join( [ list comprehension ] )
This comment is hidden because it contains spoiler information about the solution
necessary when doing list comprehension
necessary when doing list comprehension
For join().
for list
In the code you have included you are printing your solution, you need to return it.
Loading more items...