Edit the given Python program to return the absolute value of a given number
def absolute_value(x):
    if x < 0:
        return -x
def absolute_value(x):
    if x < 0:
        return -x
    else:
        return x