fork download
  1. binary_str = "11011"
  2. decimal_number = int(binary_str, 2)
  3. print(decimal_number)
  4.  
Success #stdin #stdout 0.02s 7096KB
stdin
Standard input is empty
stdout
27