def _hex(list=None):
 list = (list or [])
 if list:
  list.reverse()
  return int(''.join(list), 16)
 return 0

def _hex ( list = None ) : list = ( list or [ ] ) if list : list . reverse ( ) return int ( '' . join ( list ) , 16 ) return 0
format the return value in list into hex .