Question #254111

write a program the temperature value is 25 C the output is 25.0C and 77.of and 298.0k in python


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