i want to write a Divide and Conquer Algorithm for Converting binary number to a decimal number with the below conditions: with python:
the input should be the binary