Re: [Tutor] help with comparing list of tuples in python 2

2016-06-20 Thread Lulu J
2016 at 8:34 AM, Muhubo Yusuf wrote: > > > From: Alan Gauld via Tutor > Date: Fri, Jun 17, 2016 at 6:36 PM > Subject: Re: [Tutor] help with comparing list of tuples in python 2 > To: tutor@python.org > > > On 17/06/16 20:18, Lulu J wrote: > > > I have a li

[Tutor] help with comparing list of tuples in python 2

2016-06-17 Thread Lulu J
Hi there, My apologies if this is a trivial question but I am sort of new to python. Here is my problem: I have a list of dictionaries. Each dictionary has a word and its position in the text the positions are in the form of a tuple. Here is an example: [ {'position': (5, 4), 'term': u'happy',},