input: from faker import Faker
  
  def generate_sample_data() -> str:
      """ Generate 10 sample data entries using Python's faker library. Each entry should contain a name, an email, and an age. The name and email should be generated using the faker library and the age should be a random integer between 18 and 60.
      >>> generate_sample_data()
      "John Smith john.smith@example.com 35 \nJane Doe jane.doe@example.com 28 \n..."
      """
      fake = Faker()
      sample_data = ""
      for _ in range(10):
          sample_data += f"{fake.name()} {fake.email()} {fake.random_int(min=18, max=60)} \n"
      return sample_data
output:     fake = Faker()
      sample_data = ""
      for _ in range(10):
          sample_data += f"{fake.name()} {fake.email()} {fake.random_int(min=18, max=60)} \n"
      return sample_data