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

12. Which of the following will NOT help reduce CO2 concentrations in the atmosphere? a. fuel-efficient cars b. using more heat c. recycling d. using less
Of the teens surveyed
What is an equivalent raidian measure of 60°
radius is 9 what is the circumfrence
According to Jefferson, what happens when people are punished for what they think? A)more people are thrown into jail B) God grows angry C) people become mean a
Tell me each animals answer I don’t want to do it so take ur points.
At which location does the pendulum have the least gravitational potential energy? Why?
find the slope of a line passing through (6,-10) with a slope of 1.
which of the following best completes the diagram above?
Help me plz I don’t know nothing about this