input: Write a function named generate_sample_data that generates and prints sample data for a web application using Python's faker library. The function should generate three columns of data: name, email, and age for 10 records. The age should be randomly generated between 18 and 60.
  assert generate_sample_data
  # Expected output: Print 10 lines of name, email, and age generated by the Faker library.
output: def generate_sample_data():
      from faker import Faker
      import random
      fake = Faker()
      for _ in range(10):
          name = fake.name()
          email = fake.email()
          age = random.randint(18, 60)
          print(f"{name}, {email}, {age}")