input: 
  def calculate_total_cost(items, shipping_cost, tax_rate):
      """ Calculate the total cost of a shopping cart given a list of items (with their prices and quantities),
      a shipping cost, and a tax rate.
      >>> calculate_total_cost([{"name": "widget", "price": 10, "quantity": 5}, {"name": "thingy", "price": 7, "quantity": 3}, {"name": "doodad", "price": 5, "quantity": 2}], 7.5, 0.095)
      118.225
      """
  
output:     total_price = sum(item["price"] * item["quantity"] for item in items)
      total_cost = total_price + shipping_cost
      total_cost_with_tax = total_cost * (1 + tax_rate)
      return total_cost_with_tax