parameters: (i)
return_statement: return i ^ (i >> 1)
docstring: Gray encode the given integer.
docstring_summary: Gray encode the given integer.
docstring_tokens: Gray encode the given integer .
function: def gray_encode(i):
      """Gray encode the given integer."""
  
      return i ^ (i >> 1)
function_tokens: def gray_encode ( i ) : return i ^ ( i >> 1 )