Unable to implement condition in line 7

here is the code:

hi @vketan182 you are trying to use the strlen function, but the compiler doesnt know which string’s length is to be found. Pass the string as a parameter in the function.

i have now stored the value in a variable but for 1 character and for \n it doesn’t return false

hi @vketan182
for 1 character or 0 characters, why should it return false?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.