Here is the error message: 11 T[1]=([1, 2, 3, 4], [5, 6, 7], [12], [13, 14]) 12 ---> 13 for x in T(_sage_const_0 ): print x 14 15
TypeError: 'dict' object is not callable On Jun 5, 7:27 pm, Mike Hansen <mhan...@gmail.com> wrote: > Hello, > > On Fri, Jun 5, 2009 at 7:24 PM, wkehowski<wkehow...@cox.net> wrote: > > > Changing data.sage to > > > T[0]=([1, 2, 3, 4], [5, 6, 7], [8, 9, 10, 11], [13, 14]) > > T[1]=([1, 2, 3, 4], [5, 6, 7], [12], [13, 14]) > > You should put > > T = {} > > at the beginning to define T as a dictionary. > > --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---