input: Write a function to calculate the distance between two points on a two-dimensional plane. The function should take two tuples as input, each containing the x and y coordinates of the points. The function should return the distance as a float.
  assert calculate_distance((3, 4), (-9, -2))==14.422205101855956
  assert calculate_distance((0, 0), (0, 1))==1.0
  assert calculate_distance((-1, -1), (1, 1))==2.8284271247461903
  assert calculate_distance((5, 5), (5, 5))==0.0
  assert calculate_distance((-4, 3), (9, -1))==13.601470508735444
output: def calculate_distance(point1, point2):
      return ((point2[0] - point1[0]) ** 2 + (point2[1] - point1[1]) ** 2) ** 0.5