Discuss / Python / BOOK

眔史

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

# _*_ coding:utf-8_*_

n1 = 255

n2 = 1000

print('255的16进制是%s, \n1000的16进制是%s'  % (hex(n1),hex(n2)))


  • 1

Reply