Re: [Tutor] Consecutive Sequence

2012-10-17 Thread eryksun
On Wed, Oct 17, 2012 at 8:02 AM, Dave Angel wrote: > > Is this a homework assignment where you might be expected to build a > complex loop, or is it a problem you're solving where you would be > allowed to use itertools.groupby ? May as well post a groupby solution. I doubt it would be accepted f

Re: [Tutor] Consecutive Sequence

2012-10-17 Thread Dave Angel
On 10/13/2012 07:02 AM, syed zaidi wrote: > Hi,I am trying to develop a python code that takes a character string as > input and finds for the occurrence of letters that are occurring thrice or > more consecutively.For E.g. > a = 'ataattaaacagagtgagcagt'In the output I want a list of tho