Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. #This program shpuld help you convert a temperature in Fahrenheit degree to its equivalent in Celsius degree
  2.  
  3. Fahrenheit_input = float(input("Enter a Temperature value in Fahrenheit: " + " Fahrenheit "))
  4.  
  5. rough_work1 = Fahrenheit_input - 32
  6. rough_work2 = rough_work1 * (5/9)
  7.  
  8. print("Your answer in Celsius is", end=" = ")
  9. print(str(rough_work2) + " Celsius")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement