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.
good deam XDD
But why Over-Engineering?
Yep apparently not thinking of that is pretty common! *looks at own answer...
Yep - apparently not thinking of that is pretty common!
This comment is hidden because it contains spoiler information about the solution
Had that exact same thought lol
I did similar. To speed it up, you can move the [char == " ":] section inside the [if i == True:] section. This will cut the number of compares to almost half. Why does this work? There's no need to set i to True after you already have.
@krishp True, my solution was similar, except that I did | if lng > wdth:, else: | I don't see any need for the "elif" here, and using an else instead means you don't have to use the ">=". If they equal, they'll be sent to the else which will still end with a valid 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 comment is hidden because it contains spoiler information about the solution
My favorite right here. Nice!