Question: use python Q6 [2pts): Let us consider a string that contains a binary number, complete the program using a for loop to convert this binary
Q6 [2pts): Let us consider a string that contains a binary number, complete the program using a for loop to convert this binary number to a decimal number. As reminder of how this conversion operates, here is the example for the number 37 100101 LL | (1 x 2) (0 x 24) (0 x 2) (1 x 2) (0 x 2) (1 x 2) | | | 32 + 0 + 0 + 4 + 0 + 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
