Write a Python program that allows the user to enter a four-digit binary number and displays its

Question:

Write a Python program that allows the user to enter a four-digit binary number and displays its value in base 10. Each binary digit should be entered one per line, starting with the leftmost digit as shown below.
Enter leftmost digit: 1
Enter the next digit: 0
Enter the next digit: 0
Enter the next digit: 1
The value is 9
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: