Advertisement
Adehumble

Coding exercise 5

Jan 29th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. #This program convert temperatures in Fahrenheit to temperatutes in Celsius
  2.  
  3. Fahrenheit_temp=float(input("Please, enter the value of the temperature in Fahrenheit "))
  4.  
  5. print("Dear user, you entered", Fahrenheit_temp, "degree Fahrenheit")
  6.  
  7. Celsius_temp=((Fahrenheit_temp-32)*5)/9
  8.  
  9. print("Dear user, your answer is", Celsius_temp,"in degree Celsius", end=(" "))
  10. print("Thanks!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement