Celsius to Kelvin



    Mahendra Kumar


    Program to Convert Celsius to Kelvin in Python

    # take inputs
    cel = float(input())
    # find temprature in Kelvin
    kelvin = cel + 273.15
    # print temperature in Kelvin
    print('%0.1f degrees Celsius is equivalent to %0.1f Kelvin' %(cel, kelvin))
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.