0

Why is my binary search algorithm giving me no output?

It’s not giving me errors, it just says no output and I just don’t know why. https://code.sololearn.com/crlaN3qtD9hK/?ref=app

27th Dec 2020, 11:39 PM
Garrett Mason
Garrett Mason - avatar
2 Antworten
+ 1
you have to put the guess = (xxxxx) //2 inside the loop for it to be updated. https://code.sololearn.com/cCpvriNQ536o/?ref=app
28th Dec 2020, 12:19 AM
Bahhaⵣ
Bahhaⵣ - avatar
0
Bahha🐧 Thanks!
28th Dec 2020, 1:19 AM
Garrett Mason
Garrett Mason - avatar