TypeError: Not() takes from 1 to 2 positional arguments but 3 were given #5650
Replies: 3 comments
-
What do you hope the "single" result will be of Maybe you're trying to say that they're "not the same"? If so, you want |
Beta Was this translation helpful? Give feedback.
-
Sorry, I didn't look at your screenshot properly. If you do: s.solve(a, b, c) that's the same as doing: s.solve(And([a, b, c])) that is, it builds-up an implicit conjunction to solve all of the expressions you pass to I think what you want is going to be: s.solve(Not(And([a, b, c]))
# or
s.solve(Not(Or([a, b, c])) if you want |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your quick reply. That make sense! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I got an issue when I try to use three elements inside the Not. Does anyone know how to solve it? Thank you so much.

Beta Was this translation helpful? Give feedback.
All reactions