code: def Group(symbols):
      
      if not symbols or any(not isinstance(sym, Symbol) for sym in symbols):
          raise TypeError('Expected a list of symbols as input')
      handle = SymbolHandle()
      check_call(_LIB.MXSymbolCreateGroup(
          mx_uint(len(symbols)),
          c_handle_array(symbols), ctypes.byref(handle)))
      return Symbol(handle)
docs: Creates a symbol that contains a collection of other symbols, grouped together.
  
      Example
      -------
      >>> a = mx.sym.Variable('a')
      >>> b = mx.sym.Variable('b')
      >>> mx.sym.Group([a,b])
      <Symbol Grouped>
  
      Parameters
      ----------
      symbols : list
          List of symbols to be grouped.
  
      Returns
      -------
      sym : Symbol
          A group symbol.