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.
thanks for the conmments nice work :)
No, very bad practice.
In case of error the function should raise (or propagate) an exception, not return a string.
good solution
ord
function Return the ascii code point for a one-character string.How you get this idea is a something in math or what ?
If it fails the tests, then usually that just means there's a logic error in the code. This task is about returning the length of the repeated subsection of the sequence. Your solution is missing a tiny modification in a single place to pass all tests.
This comment is hidden because it contains spoiler information about the solution
https://docs.python.org/3/reference/import.html
ما شاء الله
i don't understand this importing of module time
by default will return None nice
i didn't know that range function return a list . nice
nice :)
how this work ?
i mean that i didn't saw that the function return type is char
Loading more items...