Convert Fahrenheit to Kelvin using Python

Calculate by formula

def fahrenheitToKelvin(fahrenheit):
    return (fahrenheit + 459.67) / 1.8


fahrenheit = 77.9
kelvin = fahrenheitToKelvin(fahrenheit)

print(kelvin)

Leave a Comment

Cancel reply

Your email address will not be published.