import math def solve(): D = [] for i in range(0, 1001): if (isinstance(math.sqrt(i), int)): continue D.append(i) print(D)
I