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
this is so concise
did the same, so neat!
I didn't know you could chain ternaries like that!
No need to be, every solution (unless it's absolute garbage like you YandereDev style developer) is alright tbh
i did something similar to that with a dict and exiting as soon as the value(number of appearance) of a key(letter) is more than 1.
@ben-hatcher, excellent explaination. Now I understand this much better.
IQ = 400
that was fabulous
i did the same thing but created a variable for a+b then bin()[2:] that
This code returns string either way I guess :D
first solution that came to mind
could someone explain the concept behind this
Dude ... I just finished this, found the same solution ... EXCEPT, I included a "if not isdigit()" check into the return statement, because my dumb-ass though that the "moOse" example in the description had a zero instead of a capital 'o'... so I thought that we had to make sure that if a number is included, function returns False. Once I finished and saw your solution, I was looking at it for like solid 3 minutes, asking myself why is this here if it obviously doesn't fufill one of the requirements, before finally realizing that I confuzed 0 and O .... **** me.
no solution can be cleaner than mine
Loading more items...