﻿from sympy import *

x=symbols('x')
expand((x+2)**2)
expand((x-10)**2)