Python abs() Function
Definition and Usage
The abs()
function returns the absolute
value of the specified number.
Syntax
abs(n)
Parameter Values
Parameter | Description |
---|---|
n | Required. A number |
More Examples
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.