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')
LATEST TUTORIALS
APPROVED BY CLIENTS