absMax.py and absMin.py bugs fixed. (#624)

This commit is contained in:
ahviplc!~LC
2018-12-05 01:18:32 +08:00
committed by Harshil
parent 6a95bf9ad8
commit d75bec8a78
3 changed files with 21 additions and 16 deletions

View File

@@ -1,9 +1,9 @@
def absVal(num):
"""
Function to fins absolute value of numbers.
>>>absVal(-5)
>>absVal(-5)
5
>>>absVal(0)
>>absVal(0)
0
"""
if num < 0: