First time here? Check out the FAQ!
answered 2021-12-14 21:09:19 +0100
Why not put the variables in a list?
some_variables = [var(f'p_{k}{l}') for k in range(5) for l in range(4,8)] for v in some_variables: show(LatexExpr(r"\text{blabla } "), v, "\t = \t", "some stuff")