def add_products(basket, args):
 for (price, quantity) in args:
  add_product(basket, price, quantity)

def add_products ( basket , args ) : for ( price , quantity ) in args : add_product ( basket , price , quantity )
helper to add a series of products to the passed basket .