abs() function in Python
Introduction
The abs() function returns the absolute value of a number. In case the number is a complex number, it returns its magnitude.
The syntax of the abs() function looks like this:
abs(n)
where n is the number whose absolute value has to be ca...
blog.ashutoshkrris.in2 min read