write a program the temperature value is 25 C the output is 25.0C and 77.of and 298.0k in python
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')
Comments
Leave a comment