def isSumOfSquares(n):
    """return True if n can be expressed as the sum of two squares; False otherwise"""
for a in range(1, n):
    b = n - a ** 2
if b <= 0:
    return False
elif not math.sqrt(b) % 1:
    pass
List of numbers whose squares are the sum of two squares