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.
Length is generally supposed to be the longer measurement so that's why (l>w) works.
Sorry for late reply, I believe it's a bug. I was just printing the output and noticed that was the "correct" answer 😅
ha ha, how did you do it?
yes
PHP?????
why do you need to do (l>w)?
It is because I do not think about it, I just use === everywhere to ensure I am handling the values with the expected type.
why did you use === for checking odd or no the number? The function strlen () get the string length, so it's mean you have the number, but operator === usually using for string to avoid automatic convert to number.