How to fix this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to fix this

Everything ok except when any character is more than 2 then ... https://code.sololearn.com/c26MBUeRrJ74/?ref=app

5th Feb 2020, 2:11 PM
Samarendra Singh
Samarendra Singh - avatar
2 Answers
+ 1
To make it to work with above 2 letters, find a way to get the inputs length.
5th Feb 2020, 2:25 PM
KnuckleBars
KnuckleBars - avatar
0
It is because your conditions is only for two letter inputs.
5th Feb 2020, 2:22 PM
KnuckleBars
KnuckleBars - avatar