[SOLVED] BinaryAdd

8.00 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (2 votes)

Create a Python function called binaryAdd( ) that takes in two strings of binary expansions, aand b, and returns the sum of the binary expansions as a string. For example,

            >> binaryAdd("10101", "101011")
            >> '1000000'
Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.