import math


def distance(A, B):
    """ Finds the distance between two points

    @parameter A: point #1
    @parameter B: point #2

    @returns: distance between the points A and B"""
    return math.sqrt((A[0] - B[0]) ** 2 + (A[1] - B[1]) ** 2)