This is an iterative method for the binary search algorithm. It takes a list as an input and another variable which is the data to be searched, and then passes them to the bin() function. And in bin() there is a single while loop.
Screenshots/ Output :
print "found "
print "Not Found "
Developer, Tinkere, a proud Dad.. love to spend my available time playing with Tech!!