input: Write a python function to calculate the total sales amount (quantity * price) for each entry in a list of dictionaries.
  assert calculate_sales_amount([{'name': 'John', 'quantity': 2, 'price': 10.0}, {'name': 'Jane', 'quantity': 3, 'price': 15.0}])==[20.0, 45.0]
  assert calculate_sales_amount([{'name': 'Mike', 'quantity': 4, 'price': 12.0}, {'name': 'Anna', 'quantity': 5, 'price': 7.0}])==[48.0, 35.0]
  assert calculate_sales_amount([{'name': 'Sam', 'quantity': 1, 'price': 100.0}, {'name': 'Leo', 'quantity': 2, 'price': 50.0}])==[100.0, 100.0]
output: def calculate_sales_amount(sales_list):
      return [entry['quantity'] * entry['price'] for entry in sales_list]