ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 21 Oct 2013 08:43:27 +0200Problem outputting inequalitieshttps://ask.sagemath.org/question/10640/problem-outputting-inequalities/The following code :
x, y, z = var('x, y, z')
x < y < z
outputs :
x < y
but the "< z" seems to be taken into account, as in :
x, y, z = var('x, y, z')
x = 1; y = 2; z = 0
x < y < z
which prints "False".
Analogous behavior with :
x, y, z = var('x, y, z')
# x = 1; y = 0; z = 0;
x < y or x < z
Is there a way to make Sage prints the entire expression ?
It seems like a bug when printing expression containing multiple inequalities.Eric GaulMon, 21 Oct 2013 08:43:27 +0200https://ask.sagemath.org/question/10640/