input: Write a function to calculate the distance between two points on a two-dimensional plane. The function should take two points (x1, y1) and (x2, y2) as input and return the distance between them.
  assert calculate_distance((3, 4), (-9, -2))==13.0
  assert calculate_distance((0, 0), (0, 0))==0.0
  assert calculate_distance((1, 2), (4, 6))==5.0
  assert calculate_distance((-1, -1), (1, 1))==2.8284271247461903
  assert calculate_distance((5, -5), (-5, 5))==14.142135623730951
output: def calculate_distance(point1, point2):
      x1, y1 = point1
      x2, y2 = point2
      return ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5