|
|
|
|
|
by krasi0
2407 days ago
|
|
Sorry for the late reply. I don't get notified on replies to my posts. Thanks for the posted solution. It seems to work fine. I am trying to understand what is happening on line 18 (what's the * operator in front of `answers[:4]` for?) and wondering if it could be re-written more generically based on the output of line 14 (i.e. by saving the result from the first `.solve(constraints)` call on line 14 and automatically appending it as a constraint of something to reject on line 18.
Does that make sense? |
|
Of course it can be re-written more generically, but I thought it would be less explicit in this example