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 between 18 and 60.
  assert generate_sample_data()==[('John Doe', 'john.doe@example.com', 34), ('Jane Smith', 'jane.smith@example.com', 45), ('Alice Johnson', 'alice.johnson@example.com', 52), ('Bob Brown', 'bob.brown@example.com', 27), ('Charlie Davis', 'charlie.davis@example.com', 22), ('Diana White', 'diana.white@example.com', 18), ('Edward Green', 'edward.green@example.com', 59), ('Francesca Black', 'francesca.black@example.com', 38), ('George Gray', 'george.gray@example.com', 32), ('Hannah Orange', 'hannah.orange@example.com', 23)]
  assert generate_sample_data()[0][0]=='John Doe'
  assert generate_sample_data()[1][1]=='jane.smith@example.com'
  assert generate_sample_data()[2][2]==52
  assert generate_sample_data()[3][0]=='Bob Brown'
  assert generate_sample_data()[4][1]=='charlie.davis@example.com'
  assert generate_sample_data()[5][2]==18
output: def generate_sample_data():
      from faker import Faker
      fake = Faker()
      data = []
      for _ in range(10):
          name = fake.name()
          email = fake.email()
          age = fake.random_int(min=18, max=60)
          data.append((name, email, age))
      return data