"""
Finger exercise: What is the decimal equivalent of the binary number
10011 ?

"""
"""

 1 | 0 | 0 | 1 | 1 |

 (1 * 2**4) + (0 * 2**3) + (0 * 2**2) + (1 * 2**1) + (1 * 2**0) 

 16 + 0 + 0 + 2 + 1 = 19

 """

 # In Python we can do this the following way:

print(int("10011", 2))









