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.
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 ?
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:= ?
:)))))