input: Write a function to generate sample data for a web application using Python's faker library. The function should output three columns of data: name, email, and age. The age should be a random integer between 18 and 60. The function should take an integer parameter `n` which specifies the number of records to generate. If `n` is not provided, it should generate 10 records by default.
  from faker import Faker
  
  fake = Faker()
  def generate_sample_data(n=10):
   for _ in range(n):
   print(fake.name(), fake.email(), fake.random_int(min=18, max=60))
  
  assert generate_sample_data(3)==None
  assert generate_sample_data()==None
output: from faker import Faker
  
  fake = Faker()
  def generate_sample_data(n=10):
      data = []
      for _ in range(n):
          data.append((fake.name(), fake.email(), fake.random_int(min=18, max=60)))
      return data