Is there a binary search module in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is there a binary search module in python?

I am tired of writing a new binary_search everytime I solve a codewars challenge .I am looking for a binary m search module that I can import.Can someone please help

18th Oct 2021, 4:43 PM
Richard
Richard - avatar
4 Answers
+ 1
you could also just copy/paste your own code.
18th Oct 2021, 5:32 PM
Slick
Slick - avatar
0
Slick that would be boring. So out of all the python programs that use binary search on the planet .you are telling me there is no module .How shocking!
19th Oct 2021, 6:37 PM
Richard
Richard - avatar
0
No, I'm saying you already wrote a program for it. So you never need to write one again. That goes with any code you write. If that potential isn't exciting, I don't know what to tell you.
19th Oct 2021, 6:40 PM
Slick
Slick - avatar