In fact your example help me to find how to do simplier, thanks
Regards
Henri
T = Tableau([[8,1,6], [3,5,7],[4,9,2]]);
print unicode_art(T)
┌───┬───┬───┐
│ 8 │ 1 │ 6 │
├───┼───┼───┤
│ 3 │ 5 │ 7 │
├───┼───┼───┤
│ 4 │ 9 │ 2 │
└───┴───┴───┘
Le 08/01/2019 à 21:56, henri girard a écrit :
yes ...
yes ... Thanks, but I must do print unicode_art(t)
Le 08/01/2019 à 16:09, slelievre a écrit :
Does this help?
sage: for t in crystals.Tableaux("A2", shape=[2, 1]):
: unicode_art(t)
:
┌───┬───┐
│ 1 │ 1 │
├───┼───┘
│ 2 │
└───┘
┌───┬───┐
│ 1 │ 2
Does this help?
sage: for t in crystals.Tableaux("A2", shape=[2, 1]):
: unicode_art(t)
:
┌───┬───┐
│ 1 │ 1 │
├───┼───┘
│ 2 │
└───┘
┌───┬───┐
│ 1 │ 2 │
├───┼───┘
│ 2 │
└───┘
┌───┬───┐
│ 1 │ 3 │
├───┼───┘
│ 2 │
└───┘