About Lesson
abs():-
It returns the absolute value of the given argument.
Example:-
|
print(abs(-1)) print(abs(10.50)) |
|
output 1 10.5 |
Important Notice:
It returns the absolute value of the given argument.
Example:-
|
print(abs(-1)) print(abs(10.50)) |
|
output 1 10.5 |