Problem:

Find the coefficient of the first term in the series expansion of the following function around 1:

$-\tan \left(\frac{3 x}{2}\right)$

from sympy import *
from sympy.abc import x

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

