Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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]
click to hide/show revision 2
No.2 Revision

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]