answered 7 years ago
For boolean "and" in Sage, use and, not &.
and
&
For boolean "or" in Sage, use or, not |.
or
|