ladyluger ladyluger
  • 17-05-2021
  • Computers and Technology
contestada

Print air_temperature with 1 decimal point followed by C. Sample output with input: 36.4158102 36.4C (python)

Respuesta :

phenom786
phenom786 phenom786
  • 17-05-2021

Answer:

hope this helps

Explanation:

#Read the value from keyboard and parse to float

#assign the value to air_temperature

air_temperature=float(input())

#Print the air_temperature with one decimal place to right with C

print('%.1fC'%air_temperature)

#where f is a format specifier .1 is number of decimal places to display on right side

#C is the character to print after the decimal value

Answer Link

Otras preguntas

what number is 468% of 9.75?
what is the process your body uses to keep its internal environment stable regardless of changes outside the body
DNA and RNA differ in all BUT one of the following ways. A) DNA is double-stranded, while RNA is single stranded. B) RNA uses the sugar ribose in its backbone,
how to write fourteen and seven tenths squared
-0.8=0.13x−0.21x What is X?
Which best describes Atticus's parenting skills? a. Atticus is an older parent who is too tired to participate in his children's lives. b. Atticus is a neglectf
18 times what equals 72?
what is the value of 6 in 3.567
How does earths revolution affect our view of stars and constellations in the night sky?
Did Manifest Destiny have a negative or a positive impact on the Native Americans? Explain.