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