Maybe this is property of Python, but I'm not aware about it.

expr = 1/(2*sin(x/2 + pi/4)*cos(x/2 + pi/4))
equation = Eq(expr,expr)
equation == True # outputs True
equation is True # outputs False

Why True equation is not True?

Moreover, in IDE in which I'm working, when I write equation != True, it 
tells me "this inspection detects equality comparison with a boolean 
literal".

Thnak you.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/56aebe4e-be84-4343-b0d8-e83947a19ba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to