# take inputs
      fahr = float(input())
      # calculate Celsius
      cel = (fahr-32) / 1.8
      # display result
      print('%0.1f degree Fahrenheit is equivalent to %0.1f 
                                  degree Celsius' %(fahr, cel))
      
      Python language logo

      Fahrenheit to Celsius

      beginner
      basicMaths

      Python Program to Convert Fahrenheit to Celsius

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.