In my opinion, the above lines are a little unclear. I think they would look better if you used did something like:

```python
m = symbols('m:%i' % N_links)
```