Write a Python function to return hexadecimal value of a given integer


Topic: Write a Python function to return hexadecimal value of a given integer

Solution

def int_to_hex(a):
  return hex(a)



List all Python Programs