Celsius to Fahrenheit

    0

    0

    Mahendra Kumar

    beginnerbasicMaths

    Python Program to Convert Celsius to Fahrenheit

    # 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))
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.