def grouped(iterable, number_to_group):
    """
    Take an iterable object and group it's items to 'number_to_group'.
    For example:
        Example 1:
            Input: [1,2,3,4,5,6], number_to_group=2
            Output: [(1,2), (3,4), (5,6)]

    :param iterable: iterable object
    :param number_to_group: number to group the items in the iterable object.
    :return: list of the grouped items in the iterable object.
    """

    return zip(*[iter(iterable)] * number_to_group)