def consecutive_pairs(list):
    """
    Utility function to return each consecutive pair from a list

    >>> consecutive_pairs([1,2,3,4,5])
    [(1, 2), (2, 3), (3, 4), (4, 5)]

    >>> consecutive_pairs(['a', 'b', 'c'])
    [('a', 'b'), ('b', 'c')]

    >>> consecutive_pairs([2])
    []

    """

    return [(list[i], list[i+1]) for i in range(len(list) - 1)]