Decimal number to hexadecimal:

 decimal = int(input("Enter a decimal number: "))

hexadecimal = hex(decimal).replace("0x", "") print("Equivalent hexadecimal number:", hexadecimal)

Comments

Popular posts from this blog

Ecommerce website

Yes, Python is an object-oriented programming (OOP) language, but it is also a multi-paradigm language

Your task is to find the missing number.