Function that returns true if the the sum of all the perfect squares of the given array is divisible by x
def check ( a , y ) : NEW_LINE INDENT sum = 0 NEW_LINE for i in range ( len ( a ) ) : NEW_LINE INDENT x = math . sqrt ( a [ i ] ) NEW_LINE DEDENT DEDENT