Advertisement
ShaunakVids

Fahrenheit to Celsius Calculator

Sep 18th, 2024
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. #The Fahrenheit to Celsius Calculator
  2.  
  3. #Fahrenheit = (Celsius) * (9/5) + 32
  4.  
  5. import time
  6.  
  7. print("----------Welcome to Shaunak Vids Fahrenheit to Celsius Calculator!----------")
  8. time.sleep(1)
  9.  
  10. fahr = float(input("\nEnter your temperature in Fahrenheit: "))
  11.  
  12. print("\nProcessing your request...")
  13. cels = (fahr - 32) * 5/9
  14.  
  15. time.sleep(1)
  16.  
  17. print("\nYour inputted temperature(In Fahrenheit) in Celsius is: ",cels)
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement