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.
This checks the automated test, but not a human.
I believe the terms for the practices used in the solution are List Comprehension and List Slicing.
I'm pretty new to python and would like to better understand the best practices for this solution.
Lack of reading comprehension in my case
argeed
Very special! Wow!
WHYYYYYYYYYYYYY
cheap
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This doesn't actually calculate the answers though.
Better to use
.count('r')
once and store in a variable.I got a message: "Testing random values: 201 ,208 ,142: 'C9D08E' should equal '000000'".
Why?
FYI: Instead of
while len(tt) > 0:
you could just writewhile tt:
because in a boolean context non-empty lists are evaluatedTrue
.