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.
oct(integer)
print( oct(5) )
print( oct(8) )
print( oct(10) )
print( oct(50) )
print( oct(64) )