Instead of using `symbols`, probably using `Symbol('z')` is better, and even better is to first define it and then use it. Even better is to simply reuse `x` from above. So just change these lines to
```
assert sec(x).taylor_term(4, x) == 5*x**4/24
```
also put space after comma `,`.