def splitter(sequence):
for i in range(1, len(sequence)):
start = sequence[0:i]
end = sequence[i:]
yield (start, end)
for split in splitter(end):
result = [start]
result.extend(split)
yield result
answers = []
for root in range(0, 100):
number = root**2
for j in splitter(str(number)):
if sum(map(int, j)) == root:
answers.append(number)
break
print(answers)
bu kodu c programlama diline çevirebilecek arkadaş var mı