Discuss / Python / Integer to hexadecimal string trigger

Integer to hexadecimal string trigger

Topic source

QQ

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

num1=int(input('num1:'))

num2=int(input('num2:'))

n1=hex(num1)   

n2=hex(num2)

print(n1)

print(n2)


  • 1

Reply