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

      Celsius to Fahrenheit

      beginner
      basicMaths

      Python Program to Convert Celsius to Fahrenheit

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.