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.
'match' is a soft keyword since Python version 3.10 (see https://docs.python.org/3/reference/lexical_analysis.html#keywords), therefore I wouldn't use it as a variable name now.
No need to reinvent the wheel! :)
As a non native English speaker, I agree with @blopezpi. And after looking at the docstrings of some of the solutions, others felt the need to clarify what this method does.
You might be using the wrong string method on the wrong string.
Hopefully I've said enough but not too much.
Same here (language: python).
Look, ma! No imports!
Wow, I didn't know that the max function had this optional 'default' parameter!
I had to give up on this one because I couldn't understand what the goal was...
Easiest, cleanest.
Clever, concise, readable... best practice!
The description is terrible, please rephrase it.
I'm sure you realized right after clicking Submit that you could've written
return s + ' covfefe'
Beautiful layout!
Still readable despite its compactness.
Very readable code.
Loading more items...