Add evaluate=False with negative numbers

13 views
Skip to first unread message

Ethan

unread,
Jun 2, 2016, 11:13:02 PM6/2/16
to sympy
'Add(4,-5,evaluate=False)' returns '-5 + 4'

>>> Add(4,-5,evaluate=False)
-5 + 4

This is a little weird to read, and out of order of the way it was entered. Is there any way for it to return '4 - 5'? Like this:

>>> Add(4,-5,evaluate=False)
4 - 5
Reply all
Reply to author
Forward
0 new messages