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


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

Solution

def int_to_bin(a):
  return bin(a)



List all Python Programs