Important Notice:

Course Content
The Calendar Module
Library Function/Predefined Functions
0/4
Sys Module
Library Function/Predefined Functions
0/2
OS Module
Library Function/Predefined Functions
0/2
Functions in Python (Chapter-10) M3-R5
About Lesson

abs():-

        It returns the absolute value of the given argument.

Example:-

print(abs(-1))

print(abs(10.50))

 

output

1

10.5

error: Content is protected !!