In this code , there's 13 test case and 12 passed only 4th is not passing .. Please help | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

In this code , there's 13 test case and 12 passed only 4th is not passing .. Please help

https://sololearn.com/compiler-playground/cCmn5fhF18nb/?ref=app

31st May 2024, 1:42 PM
Mahi
Mahi - avatar
2 Respuestas
+ 5
Thanks i've solved it
31st May 2024, 2:32 PM
Mahi
Mahi - avatar
+ 2
You’ve got a logical bug. I dont want to just tell you the solution, but there’s currently a condition where the program neither outputs strong nor weak. The test conditions probably spec that it must always output one or the other.
31st May 2024, 2:11 PM
Wilbur Jaywright
Wilbur Jaywright - avatar