Discuss / Python / 打卡作业

打卡作业

Topic source

凡九朵

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

n = [n1,n2];n

for x in n:

    #print('%s十六进制为:%s' % (x,hex(x)))

    #print('{0}十六进制为:{1}'.format(x,hex(x)))

    #print(f'{x}十六进制为: {hex(x)}')

    print(x,'十六进制为:', hex(x))


  • 1

Reply