Convert Kelvin to Celsius using Python

Calculate by formula

def kelvinToCelsius(kelvin): return kelvin - 273.15 kelvin = 298.65 celsius = kelvinToCelsius(kelvin) print(celsius)

Leave a Comment

Cancel reply

Your email address will not be published.