dayasrah dayasrah
  • 02-11-2020
  • Computers and Technology
contestada

in python Write a program that prompts the user to enter a hex character and displays its corresponding decimal integer python

Respuesta :

jonasunderwood
jonasunderwood jonasunderwood
  • 02-11-2020

Answer:

Here is some that I know. The code is below:

#accepting input hex_num=input() #checking if it is a number if(hex_num>='0' and hex_num<='9'):     #printing that number     print(hex_num) #checking

Explanation:

I hope this helps

Answer Link

Otras preguntas

PLEASE HELP I WILL GIVE BRAINLIEST EXPLAIN!!!
How to solve 4 x = 16
5. Who came up with the plan to end the argument over free and slave states? * Henry Clay Congress the president the Louisiana Purchase
PT=3x+7 TQ=8x-8 answer asap please
Irregular affirmative Tu commands, help.
2. Why do the Himalayas continue to rise each year? A. because Earth's rotation has sped up B. because the Indian and Eurasian Plates collide C. because of volc
4x² when x = 5/6 and 1/2​
The quotient of A and 3 increased by 4 Please awnser.
Which is given goals to meet? A administrative agencies B federal agencies C staff agencies D line agencies will give 20 points if you answer fast
hello i just wanted to say hello