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. The function should take an integer `n` as an input to specify the number of rows of data to generate. You can use the `assert` statements to ensure the function works correctly for `n = 3`.
  
  
  from faker import Faker
  
  def generate_sample_data(n):
      fake = Faker()
      data = []
      for _ in range(n):
          data.append((fake.name(), fake.email(), fake.random_int(min=18, max=60)))
      return data
  
  assert len(generate_sample_data(3)) == 3
  
output: from faker import Faker
  
  def generate_sample_data(n):
      fake = Faker()
      data = []
      for _ in range(n):
          data.append((fake.name(), fake.email(), fake.random_int(min=18, max=60)))
      return data