Skip to content

Commit 9fdf6ad

Browse files
committed
Merge branch 'celsius_to_fahrenheit' of https://github.com/karimzakir02/Python into celsius_to_fahrenheit
2 parents e1673ef + abfa0d5 commit 9fdf6ad

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 decimal places.
77

0 commit comments

Comments
 (0)