コード例 #1
0
def decode_order(order):
    """
    Decode chicken wings order flavour list
    """
    decoded = [show_flavour(f) for f in order]
    decoded.sort()
    return ', '.join(decoded)
コード例 #2
0
def decode_flavour(flavour):
    """
    Decode a single chicken wings flavour
    """
    return show_flavour(flavour)