We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3431782 commit 1eea7b0Copy full SHA for 1eea7b0
1 file changed
climate_analysis.py
@@ -15,6 +15,14 @@ def FahrToCelsius(fahr):
15
celsius = ((fahr - 32) * (5/9))
16
return celsius
17
def FahrToKelvin(fahr):
18
+ """Converts fahrenheit to kelvin
19
+
20
+ Args:
21
+ fahr (float): temperature in fahrenheit
22
23
+ Returns:
24
+ float: temperature in kelvin
25
+ """
26
kelvin = FahrToCelsius(fahr) + 273.15
27
return kelvin
28
0 commit comments