Binary number
-It is a number which expressed in the base-2 numeral system,
-Binary numbers are 0 or 1.
Multiplication of two binary number -
Example-
b1=101 // 5 in decimal
b2=101 // 5 in decimal
then multiplication of b1 and b2 is 11001 // 25 in decimal
program -
print("Enter first binary number")
n=input()
print("Enter second binary number")
m=input()
s=bin(int(n,2)*int(m,2))
print("Multiplication of two binary number is - "+s)
Enter first binary number
101
Enter second binary number
101
Multiplication of two binary number is - 0b11001
Enter first binary number
1010
Enter second binary number
101
Multiplication of two binary number is - 0b110010