On Mon, Oct 14, 2019 at 10:57 AM David Bailey wrote:
>
> On 14/10/2019 17:17, Chris Smith wrote:
>
> It a dictionary. You can look at the results in order with
>
> ans = solve(...)
> for k in ordered(ans):
>print(k, ans[k])
>
>
> You could also turn that dict into an ordered list with `ans =
On Monday, October 14, 2019 at 11:17:14 AM UTC-5, Chris Smith wrote:
>
>
> You could also turn that dict into an ordered list with `ans =
> list(ordered(ans.items()))`.
>
>
Thanks!
print list(ordered(ans.items()))
did the trick.
$ geo-algebraic-expressions -i a=1 a+b=17 a+e=20 b+c=19 b+f=22
On 14/10/2019 17:17, Chris Smith wrote:
It a dictionary. You can look at the results in order with
|
ans =solve(...)
fork inordered(ans):
print(k,ans[k])
|
You could also turn that dict into an ordered list with `ans =
list(ordered(ans.items()))`.
On Sunday, October 13, 2019 at 7:54:23 PM
It a dictionary. You can look at the results in order with
ans = solve(...)
for k in ordered(ans):
print(k, ans[k])
You could also turn that dict into an ordered list with `ans =
list(ordered(ans.items()))`.
On Sunday, October 13, 2019 at 7:54:23 PM UTC-5, Rick Richardson wrote:
>
> For