'How to find the coefficients of a power series using SymPy

I am trying to find all the coefficients of a power series, but I do not know how to enter the series as Python code, let alone find the coefficients of any series using SymPy if that is the appropriate library to address.

Power Series



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source