Discuss / Python / 2022/7/2

2022/7/2

Topic source

留君于心

#1 Created at ... [Delete] [Delete and Lock User]

>>> n1 = 255

>>> n2 = 1000

>>> a = hex

>>> a(n1)

'0xff'

>>> a(n2)

'0x3e8'


  • 1

Reply