product (i,(i,1,k),(k,1,n))

(Product(factorial(k), (k, 1, n))).doit()

Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.