Question #254105

write a program if input is temperature as 25 output is 25.0c and 77.0f



Expert's answer

temp = float(input())


print("temperature in celsiu : ",temp,'C')


print("temperature in fahrenheit : ",temp * 1.8 +32,'F')


print("temperature in Kelvin : ",temp + 273,'K')

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS