#! /usr/bin/env python3

# cheese_shop.py
# Using tuple and dictionary as arguments.
#
# Author: Billy Wilson Arante
# Created: 2/14/2016 PHT
#

def cheeseshop(kind, *arguments, **keywords):
    """Demonstrates how to use tuple and dictionary as arguments.

    *arguments is a tuple.
    **keywords is a dictionary.
    """

    print("-- Do you have any", kind, "?")
    print("-- I'm sorry, we're are all out of", kind)
    for arg in arguments:
        print(arg)
    print("-" * 40)
    keys = sorted(keywords.keys())
    for kw in keys:
        print(kw, ":", keywords[kw])

# Test case
# ---------
cheeseshop("Limburger", "Curry", "Westbrook", "Bryant", "Durant", "Leonard",
        frontcourt1 = "Paul", frontcourt2 = "Wade", backcourt3 = "James",
        backcourt4 = "George", center = "Davis")
