Decode School

Decode School - The School for Problem Solvers

Welcome to my blog. Subscribe and get my latest blog post in your inbox.

Python Decimal to HexaDecimal

Python program to get an decimal number and covert it to Hexa Decimal number

Sample Input 1:


Sample Output 1:


Program or Solution

num=int(input("Enter a Number:"))


Program Explanation

:x specifies hexa decimal value.