#!/usr/bin/env python3
"""Auto-generated by AGI Loop cycle #1182
Task: ,</think>

Write a Python function that transforms a given list of integers into a list of tuples, where each tuple contains the integer, its square, and the number of divisors it has.
Generated: 2026-02-12T23:15:43.042626
"""

def transform_list_to_tuples(int_list):
    def count_divisors(n):
        if n == 0:
            return 0
        count = 0
        for i in range(1, int(n**0.5) + 1):
            if n % i == 0:
                if i * i == n:
                    count += 1
                else:
                    count += 2
        return count

    result = []
    for num in int_list:
        square = num * num
        divisors = count_divisors(num)
        result.append((num, square, divisors))
    return result

if __name__ == '__main__':
    test_data = [6, 8, 10]
    transformed = transform_list_to_tuples(test_data)
    for t in transformed:
        print(t)