# Revision history [back]

### How to define multiple WeylCharacterRings at one time

I am trying to use a script like the one below (to use a simplistic version)

for i in [1..4]:
B"i" = WeylCharacterRing("Bi")


to define multiple Weyl character rings at one time. I then am hoping to go through, and compute the degrees of the representation corresponding to the weight (1,1,1,...,1) depending on which B$i$ I am considering i.e., for $B4$ I would want to calculate

B4(1,1,1,1).degree()


(its $126$). How can I go about automating this in some way? Any tips or reference materials?