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.
We are still interested
Side Node: These people have put a gun on me help me.
-> To : mcu13321
the time complexity is bad in both cases...
This comment is hidden because it contains spoiler information about the solution
For simplicity only. In real use it is obvious to use
.lower()
method. Even additional checks for digits and special charasters.How does it even work ? Makes on sense
Please Explain what is special about 10
is there a reason why you didn't use .lower() function ?
Agreed. This method is fine but I always find myself messing up with whitespaces and punctuation
Damn, no need to compare their value from 5, if 1 then it will give 0 and if 9 then 1, and their are only 10 nums then damn and you don't need to import and use str(replaced string, now string is used for a different purpose)
Nice... :()
\d+ and [0-9]+ are patters, \d+ is just a more clean and good
Adding () will improve to read what is happening but, clever just genearte with X in middle
This is a clean code, easily expndable and aesily readable
Why convert string to string ????
Perfection
This comment is hidden because it contains spoiler information about the solution
Loading more items...