input: Write a python function to calculate the distance between two geographic coordinates using the Haversine formula.
  assert round(calculateDistance((25.636045, -80.563424), (25.859637, -80.329789)), 2) == 31.44
  assert round(calculateDistance((34.052235, -118.243683), (36.169941, -115.139832)), 2) == 367.64
  assert round(calculateDistance((40.712776, -74.005974), (34.052235, -118.243683)), 2) == 3940.07
output: def calculateDistance(coord1, coord2):
      import math
  
      # Convert latitude and longitude from degrees to radians
      lat1, lon1 = map(math.radians, coord1)
      lat2, lon2 = map(math.radians, coord2)
  
      # Haversine formula
      dlat = lat2 - lat1
      dlon = lon2 - lon1
      a = math.sin(dlat / 2)**2 + math.cos(lat1) * math.cos(lat2) * math.sin(dlon / 2)**2
      c = 2 * math.atan2(math.sqrt(a), math.sqrt(1 - a))
  
      # Radius of Earth in kilometers is approximately 6371
      distance = 6371 * c
  
      return distance