input: Write a function to generate sample data for a web application using Python's faker library. The function should return a list of dictionaries, each containing three key-value pairs: name, email, and age. The age should be a random integer between 18 and 60.
  from faker import Faker
  
  def generate_sample_data(num_entries):
      fake = Faker()
      data = []
      for _ in range(num_entries):
          entry = {
              'name': fake.name(),
              'email': fake.email(),
              'age': fake.random_int(min=18, max=60)
          }
          data.append(entry)
      return data
  
  assert generate_sample_data(3) == [{'name': 'Rose Nelson', 'email': 'kathy92@example.org', 'age': 45}, {'name': 'Kevin Dennis', 'email': 'fmarshall@example.net', 'age': 60}, {'name': 'Kayla Schmitt', 'email': 'greenmelissa@example.net', 'age': 32}]
  assert generate_sample_data(0) == []
  assert generate_sample_data(1) == [{'name': 'Brian Bowen', 'email': 'stephenmurphy@example.net', 'age': 41}]
output: from faker import Faker
  
  def generate_sample_data(num_entries):
      fake = Faker()
      data = []
      for _ in range(num_entries):
          entry = {
              'name': fake.name(),
              'email': fake.email(),
              'age': fake.random_int(min=18, max=60)
          }
          data.append(entry)
      return data