mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Add Python 3.x support
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
7d97f407c2
commit
6602803850
6 changed files with 426 additions and 358 deletions
|
@ -4,5 +4,5 @@ x = Real('x')
|
|||
y = Real('y')
|
||||
s = Solver()
|
||||
s.add(x + y > 5, x > 1, y > 1)
|
||||
print s.check()
|
||||
print s.model()
|
||||
print(s.check())
|
||||
print(s.model())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue