micropython/tests/basics/builtin_hex_intbig.py

5 lines
97 B
Python

# test builtin hex function
print(hex(12345678901234567890))
print(hex(0x12345678901234567890))