Hi Mike! On 1 Sep., 20:05, Mike Hansen <mhan...@gmail.com> wrote: > You could build the dictionary and check that it is equal to the > dictionary in question: > > sage: L > {360: {}, 2520: {0: 'X'}, 'prime': 3} > sage: dict([(360, {}), (2520, {0: 'X'}), ('prime', 3)]) == L > True
Good idea! Thank you, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org