input: Write a function to calculate the absolute difference between two given numbers. If the given numbers are integer or floating-point, return their absolute difference as an integer or floating-point respectively.
  def absolute_difference(A, B): 
      return abs(A - B) 
  
  assert absolute_difference(9, 5)==4
  assert absolute_difference(5, 9)==4
  assert absolute_difference(-5, -9)==4
  assert absolute_difference(5.5, 9.5)==4.0
  assert absolute_difference(-5.5, -9.5)==4.0
  assert absolute_difference(0, 0)==0
output: def absolute_difference(A, B): 
      return abs(A - B)