This is literally my first program using sympy, based on an example from my calculus class:
from sympy import *
def main():
x=symbols("x")
f=exp(x**3)*cos(x**6)
print(series(f,x,0,14))
print(series(f,x,0,19))
if __name__ == "__main__":
main()
The output:
1 + x**3 + x**6/2 + x**9/6 + x**12/24 + O(x**14)
1 + x**3 + x**6/2 + x**9/6 - 11*x**12/24 - 59*x**15/120 - 179*x**18/720 + O(x**19)
As you can see at least one of the answers is wrong.
Should I bother using sympy a second time?