input: Write a python function to convert a binary string to its decimal equivalent.
  assert binary_to_decimal("1010") == 10
  assert binary_to_decimal("1111") == 15
  assert binary_to_decimal("1001") == 9
output: def binary_to_decimal(binary_str):
      return int(binary_str, 2)