First time here? Check out the FAQ!
answered 2013-05-17 15:34:30 +0100
Looks like you want a combination of IntegerVectors and the Python * operator to pass a list as multiple arguments:
IntegerVectors
*
sage: B4 = WeylCharacterRing('B4', style='coroots') sage: l = [1,2,0,1] sage: B4(*l).degree() 24192