Skip to content

Commit abfa0d5

Browse files
Type hints added to conversions/fahrenheit_to_celsius.py
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent ff16a89 commit abfa0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversions/fahrenheit_to_celsius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" Convert temperature from Fahrenheit to Celsius """
22

33

4-
def fahrenheit_to_celsius(fahrenheit):
4+
def fahrenheit_to_celsius(fahrenheit: float) -> float:
55
"""
66
Convert a given value from Fahrenheit to Celsius and round it to 2 d.p.
77

0 commit comments

Comments
 (0)