Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Assignment 1
- # Question 5
- #program that asks users for temperature in Fahrenheit and then convert to Celcius
- print('conversion of temperature from Fahrenheit to Celcius')
- x = float(input("enter temperature value in Fahrenheit "))
- t = x - 32
- t *= (5 / 9)
- print(t,"Celcius")
- print(x,"Fahrenheit is equivalent to",t,"Celsius")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement