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 comment is hidden because it contains spoiler information about the solution
I guess you're assuming requirements that don't exist then!
in the solution you assume that quantity of whitespace delimited numbers are not more than 27 which is len('+-/+-/+-/+-/+-/+-/+-'), so what if the quantity is more than 27 ?
I mean, I did this kata a few months ago, I've improved a lot since then.
Nice solution but function find_letter is invoked unnecessarly too much
no need to check if word exists
Very clever
This comment is hidden because it contains spoiler information about the solution
Thanks, very explanatory
You could have written
''.join(' ' * ( abs(n // 2 - i)) + '*' * (n - 2 * abs(n // 2 - i)) + '\n' for i in range(n)) if n > 0 and n % 2 else None
why have you chose variable t:= ?
:)))))