Python abs() Function
Definition and Usage
abs() returns the absolute value of the specified number.
Syntax
abs(n)
Parameter Value
Parameter | Description |
---|---|
n | Required. Number. |
abs() returns the absolute value of the specified number.
abs(n)
Parameter | Description |
---|---|
n | Required. Number. |