Esempio n. 1
0
def create_products(**products_dict):
    for name, price in products_dict.items():
        create_product(name, price)
Esempio n. 2
0
def create_products(**products_dict): #product_dict is a key word argument that takes in a dictionary of key words. Denoted by the **.
  for name, price in products_dict.items():
    create_product(name, price)