input: Write a function to generate sample data for a web application using Python's faker library. The function should return a list of tuples, where each tuple contains a name, email, and age. The function should generate data for a specified number of people, with ages between 18 and 60.
  def generate_sample_data(num_people):
   from faker import Faker
   fake = Faker()
   data = []
   for _ in range(num_people):
    data.append((fake.name(), fake.email(), fake.random_int(min=18, max=60)))
   return data
  
  assert generate_sample_data(3)==[('\u71d5\u5fc3\u71d5', 'jonesa@example.com', 19), ('\u8607\u76db\u9633\u674e', 'xiazin@example.net', 25), ('Ethan Hughes', 'http://example.org/old/site/williammendez.html', 59)]
  assert generate_sample_data(2)==[('\u674e\u6d77\u8d85', 'zhaojun@example.net', 45), ('Shelby Ellis MD', 'philpratt@example.net', 30)]
  assert generate_sample_data(1)==[('Constance Benitez', 'megankennedy@example.net', 28)]
  assert generate_sample_data(0)==[]
  assert generate_sample_data(5)==[('\u65af\u51a5\u660e', 'taorui@example.net', 33), ('Mark Ryan', 'fbowman@example.com', 44), ('Kenneth Blair', 'vkelly@example.org', 23), ('Adam Hart', 'vgarcia@example', 57), ('George Snow', 'abrown@example', 26)]
output: def generate_sample_data(num_people):
   from faker import Faker
   fake = Faker()
   data = []
   for _ in range(num_people):
    data.append((fake.name(), fake.email(), fake.random_int(min=18, max=60)))
   return data