Discuss / Python / hao

4theloveofgod

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

n1 = 255 n2 = 1000 print(hex(n1),hex(n2)) print('hex(n1)=%s hex(n2)=%s' % (hex(n1), hex(n2)))

n1 =int(input ('please input the int ')) print('n1=%s'% hex(n1))


  • 1

Reply