input: Write a function to calculate the total cost of a shopping cart, considering the item prices, quantity, shipping cost, and any applicable taxes. The function should return the total cost as a float.
  def calculate_total_cost(items, shipping_cost, tax_rate):
      total_cost = 0
      for item in items:
          total_cost += item['price'] * item['quantity']
      total_cost += total_cost * tax_rate
      total_cost += shipping_cost
      return total_cost
  
  assert calculate_total_cost([
      {"name": "widget", "price": 10, "quantity": 5},
      {"name": "thingy", "price": 7, "quantity": 3},
      {"name": "doodad", "price": 5, "quantity": 2}
  ], 7.50, 0.095) == 105.325
  assert calculate_total_cost([], 0, 0) == 0.0
  assert calculate_total_cost([
      {"name": "item1", "price": 5, "quantity": 2},
      {"name": "item2", "price": 10, "quantity": 1}
  ], 5.0, 0.1) == 27.5
output: def calculate_total_cost(items, shipping_cost, tax_rate):
      total_cost = 0
      for item in items:
          total_cost += item['price'] * item['quantity']
      total_cost += total_cost * tax_rate
      total_cost += shipping_cost
      return total_cost