You can download this code by clicking the button below.
This code is now available for download.
This function returns the absolute difference between two numbers.
Technology Stack : Built-in function abs()
Code Type : Function
Code Difficulty :
def aordiff(arg1, arg2):
# This function returns the absolute difference between two numbers
return abs(arg1 - arg2)