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


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

Solution

def int_to_oct(a):
  return oct(a)



List all Python Programs