code: def gray_to_bin(bin_list):
      """
      Convert from Gray coding to binary coding.
  
      We assume big endian encoding.
  
      Examples
      ========
  
      >>> from sympy.combinatorics.graycode import gray_to_bin
      >>> gray_to_bin('100')
      '111'
  
      See Also
      ========
  
      bin_to_gray
      """
      b = [bin_list[0]]
      for i in range(1, len(bin_list)):
          b += str(int(b[i - 1] != bin_list[i]))
      return "".join(b)
  
file_path: sympy/sympy/combinatorics/graycode.py
imports: from sympy.core import Basic, Integer
  import random
label_desc: Use image node_id 2 for calling a global function with example usage: gray_to_bin(bin_list) and returns: str