input: Write a function to print numbers from 1 to 10 and indicate which ones are divisible by three.
  assert capture_output(print_divisible_by_three) == "1\n2\n3 is divisible by three.\n4\n5\n6 is divisible by three.\n7\n8\n9 is divisible by three.\n10\n"
  assert capture_output(print_divisible_by_three) != "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n"
output: def print_divisible_by_three():
      for i in range(1, 11):
          if i % 3 == 0:
              print(f"{i} is divisible by three.")
          else:
              print(i)