Ask Your Question

Revision history [back]

Oh, I think Volker and I had different ideas about what you were looking for :) Here's another list comprehension which just computes the degrees of various elements (using the lambda function B defined in my other answer):

sage: [B(i)(*[1]*i).degree() for i in range(1,5)]
[1, 10, 35, 126]

Oh, I think Volker @Volker Braun and I had different ideas about what you were looking for :) Here's another list comprehension which just computes the degrees of various elements (using the lambda function B defined in my other answer):

sage: [B(i)(*[1]*i).degree() for i in range(1,5)]
[1, 10, 35, 126]