mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
10 lines
128 B
Python
10 lines
128 B
Python
|
# test builtin oct function
|
||
|
|
||
|
print(oct(1))
|
||
|
print(oct(-1))
|
||
|
print(oct(15))
|
||
|
print(oct(-15))
|
||
|
|
||
|
print(oct(12345))
|
||
|
print(oct(0o12345))
|