# The sum of the squares of the first ten natural numbers is,

# The square of the sum of the first ten natural numbers is,

# Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is


# Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.
squares = pow(sum(range(101)),2)
suma = sum(list(map(lambda y: pow(y,2),range(101))))



print(squares - suma)



# sq = sum(squares)

# The sum of the squares of the first ten natural numbers is,

# The square of the sum of the first ten natural numbers is,

# Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is


# Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.
squares = pow(sum(range(101)),2)
suma = sum(list(map(lambda y: pow(y,2),range(101))))



print(squares - suma)



# sq = sum(squares)

# The sum of the squares of the first ten natural numbers is, # The square of the sum of the first ten natural numbers is, # Hence the difference between the sum of the squares of the first ten natural numbers and the square of the sum is # Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum. # sq = sum(squares)