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 cost of the previous year’s booths and prizes for Class Fun Day was $504. This year’s cost of the prizes and booths increased by 8% from the cost of the pre
Charles is saving $5 each week.He earns an extra $15 by mowing his neighbor's lawn.Write the inequality to show how to find how many weeks,W,will he need to sav
how is magical realism still realism
Given: F(x) = 2x - 1; G(x) = 3x + 2; H(X) = x2 Find G[HD]
Ed’s birthday is less than 16 days away. (NEED HELP!!!! WILL GIVE BRAINLY)
The component structure of team sports such as rugby or volleyball, for instance, is accurately defined as:_________. a.Competitive means competitive ends. b.Co
1-5 answer please .....
HELP HELP PLEASE!!!!​
Scientists can determine the age of ancient objects by a method called radiocarbon dating. The bombardment of the upper atmosphere by cosmic rays converts nitro
The oxygen that is released as o2 during photosynthesis came from _____________ molecules.