Lowest price ever! Learn Generative AI for 48% less!
Get my discount0
Fix bug
It always says BOO even when it is not suppose to do that. https://sololearn.com/compiler-playground/c4q55gC3t7nJ/?ref=app
2 Answers
+ 2
What are you entering as the input?
You can't enter a string "true" or "yes" because you need a boolean value. Do you know how to input that?
I entered it and I received the "Yay..." output. So the code does work.
0
it working perfectly, whats the problem here , boolean takes 1 or 0 as input not string "ture" and "false"