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 c+d=21 c+g=24 d+h=26 e+f=25 e+i=12 f+g=27 f+j=14 g+h=29 g+k=16 h+l=18 i+j=1 i+m=4 j+k=3 j+n=6 k+l=5 k+o=8 l+p=10 m+n=9 n+o=11 o+p=13 [(a, 1), (b, 16), (c, 3), (d, 18), (e, 19), (f, 6), (g, 21), (h, 8), (i, -7), (j, 8), (k, -5), (l, 10), (m, 11), (n, -2), (o, 13), (p, 0)] -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sympy/e47ec97e-64b9-4aa9-8b92-0814a4d92053%40googlegroups.com.
