Discuss / Python / 作业

作业

Topic source

酈公子

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

n1=int(input('输入你要转化的数:')) 输入你要转化的数:255 print('%s'%(hex(n1))) 0xff n2=int(input('输入你要转化的数:')) 输入你要转化的数:10000 print('%s'%(hex(n2))) 0x2710


  • 1

Reply