Problem:

Find the coefficient of the sixth term in the series expansion of the following function around 6:

$\frac{1}{x^2}$

from sympy import *
from sympy.abc import x

f = S((1/(x**2)))
series = f.series(x, 6, None)
for i, term in enumerate(series):
    if i == 6: print(term)
    elif i > 6: break
print(0)

