Ask Your Question

Revision history [back]

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

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