I have same code but op is different

in search fun:

i write same code as video but output (price value ) is coming different in video is 25 but mine is
“Price is 1162627398” in vsode and
“Price is 0” in cb-ide |
o/p should be 25

hey your Search function is fine only, I tallied your code with lecture…

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.