input: Write a function to generate sample data for a web application using Python's faker library. The output should contain three columns of data: name, email, and age. If no number of entries is provided, the function should generate 10 entries by default.
  def generate_sample_data(num_entries=10):
      from faker import Faker
      fake = Faker()
      return [(fake.name(), fake.email(), fake.random_int(min=18, max=60)) for _ in range(num_entries)]
  assert generate_sample_data(2) != generate_sample_data(2)
  assert len(generate_sample_data(5)) == 5
  assert all(isinstance(entry[2], int) for entry in generate_sample_data(10))
  assert len(generate_sample_data()) == 10
output: def generate_sample_data(num_entries=10):
      from faker import Faker
      fake = Faker()
      return [(fake.name(), fake.email(), fake.random_int(min=18, max=60)) for _ in range(num_entries)]