parameters: (num)
return_statement: return val
docstring: Convert integer to A-P string representation.
docstring_summary: Convert integer to A-P string representation.
docstring_tokens: Convert integer to A - P string representation .
function: def Int2AP(num):
  
      """Convert integer to A-P string representation."""
  
      val = ''; AP = 'ABCDEFGHIJKLMNOP'
      num = int(abs(num))
      while num:
          num, mod = divmod(num, 16)
          val = AP[mod] + val
      return val
function_tokens: def Int2AP ( num ) : val = '' AP = 'ABCDEFGHIJKLMNOP' num = int ( abs ( num ) ) while num : num , mod = divmod ( num , 16 ) val = AP [ mod ] + val return val