First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You have to enforce the check of the inequality by asking for a Boolean:

sage: bool(e<3)                                                                                    
True
sage: bool(pi>4)                                                                                   
False