Write a python program to fahrenheit into celsius degree.
PROGRAM:
f=float(input("Enter the fahrenheit value:"))
c=(f-32)*(5/9)
print("The celsius degree from the fahrenheit value "+ str(f)+" is",c,"°")
OUTPUT:
Enter the fahrenheit value:32
The celsius degree from the fahrenheit value 32.0 is 0.0 °
No comments:
Post a Comment