add return value which might be 0 (#20657)
if the input in abs is 0, then the return can't always be a positive value. 0 is not a positive value
This commit is contained in:
		| @@ -9,7 +9,7 @@ It takes one argument `x` - an integer, or decimal, or a complex number. | |||||||
|  |  | ||||||
| ## Return Value | ## Return Value | ||||||
|  |  | ||||||
| The return value would be a positive number. Even if complex number is passed, it would return its magnitude, computed as per complex number algebra. | The return value would be a positive number or zero. Even if complex number is passed, it would return its magnitude, computed as per complex number algebra. | ||||||
|  |  | ||||||
| ## Code Sample | ## Code Sample | ||||||
| ```python | ```python | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user