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

The sum of 3 consecutive even numbers is 270. What is the first number in this sequence?
What is an intervention?
plss help will give brainliest and thx and 5star
Which function is represented in this graph
The speed of a note created by a flute will increase as the speed of sound increases. When a marching band goes outside on a cold day, what would you predict wo
Identify the statements that ACCURATELY describe a fact related to the work of Johann Gutenberg. Gutenberg invented moveable type. Gutenberg's press was develo
The sting in her ........ Knees brought tears to her eyes. a) smooth b) bony c) stiff d)fleshy
Cite the evidence that suggests sugar substitutes may NOT help you lose weight. “For one thing, Ayoob says it’s not healthy to rely on super-sweet food all the
A ball rolled 258 feet in 2 minutes.what was this balls average speed,in feet per second?
Which two ideas about colonialism are most clearly expressed in this excerpt?