def get_ingredients(drink_dict):
    """ Create a list of ingredients and measures

    Form data is passed as a dictionary. The functions iterates through
    the key/value pairs and appends the ingredients and measures to its
    own list called ingredients.

    Args:
        drink_dict : The dictionary containing the ingredients

    Returns:
        A list of alternating measures and ingredients
    """

    ingredients = []
    for k, v in list(drink_dict.items()):
        if ('ingredient' in k) or ('measure' in k):
            ingredients.append(v)
            drink_dict.pop(k)

    return ingredients