Skip to content

Commit 726362a

Browse files
committed
Added typehints to cups2liter.py
1 parent 73eae8a commit 726362a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cups2liter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# Liters = cups / 4.226753
88
# cups = liters * 4.226753
99

10-
def c2l(f_value):
10+
def c2l(f_value) -> float:
1111
cups = float(f_value)
12-
liters = (cups / 4.226753)
12+
liters: float = (cups / 4.226753)
1313
return liters
1414

1515

0 commit comments

Comments
 (0)