# take input
num = int(input('Enter the integer number: '))
# display result
print('Absolute value of number is =',abs(num))
absoluteVal
To find the absolute value of a given number : absolute value of 5 = 5 absolute value of (-5) = 5
0 Comments
Add Comment
Log in to add a comment