SymPy Gamma logo SymPy Gamma

gcd(2*x**2%20%2B%206*x%2C%2012*x)
gcd(2*x**2%20%2B%206*x%2C%2012*x)
gcd() takes 2 arguments or a sequence of arguments
See what Wolfram|Alpha has to say.

Want a full Python shell? Use SymPy Live.