Discuss / Python / 第七天打卡

第七天打卡

Topic source

>>> n1=255

>>> n2=1000

>>> hex(n1)

'0xff'

>>> hex(n2)

'0x3e8'

>>> print(hex(n1),hex(n2))

0xff 0x3e8


  • 1

Reply