The oct()
function converts an integer number to an octal string prefixed with "0o". The Octal notation is representation of integers in base 8, the notation uses digits from 0 to 7.
Syntax:
oct(integer)
copy