I need to convert a binary input into a decimal integer. I know how to go from a decimal to a binary:
n = int(raw_input(\'enter a number: \')) print \'{0:b}\'.fo
Binary to Decimal
int(binaryString, 2)
Decimal to Binary
format(decimal ,"b")