Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 387 Bytes

File metadata and controls

35 lines (28 loc) · 387 Bytes

oct

Description

Returns an integer converted into an octal string.

Syntax

oct (integer)

integer
Required. An integer value to be converted into octal string.

Return Value

str

Time Complexity

#TODO

Example

>>> oct(10)
'012'
>>> oct(256)
'0400'
>>> oct(4294967296L)
'040000000000L'

See Also

#TODO