Add typing to maths/abs.py (#7060)

This commit is contained in:
Saksham Chawla 2022-10-13 00:11:01 +05:30 committed by GitHub
parent 922887c386
commit 2423760e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
"""Absolute Value."""
def abs_val(num):
def abs_val(num: float) -> float:
"""
Find the absolute value of a number.