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.
so the test send just one character for numbers.
for example this number '321' is going to be evaluated as false due len != 1.
right?
to limit the length of the string for the condition since digit 0-9 is a character with the length of 1
I don't undestand the why the use len equals 1. if the len is for example 10 the expresions is not going to be evaluated.
somebody please explain me why the use of len(n)==1 in this case.