Skip to content

Commit 2423760

Browse files
Add typing to maths/abs.py (TheAlgorithms#7060)
1 parent 922887c commit 2423760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maths/abs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Absolute Value."""
22

33

4-
def abs_val(num):
4+
def abs_val(num: float) -> float:
55
"""
66
Find the absolute value of a number.
77

0 commit comments

Comments
 (0)