[Tutor] Need advise on protein sequence alignment code in python 2.7 giving wrong output

Alan Gauld alan.gauld at btinternet.com
Tue Aug 11 23:16:10 CEST 2015

On 11/08/15 22:09, Mark Lawrence wrote:
> On 11/08/2015 19:54, Laura Creighton wrote:
>> You posted incomplete code -- at any rate I cannot get it to work.
> Having taken a closer look how can it work when range() and xrange() are
> both used?

OK, I'll bite. Why is that a problem?
It's not conventional but I can't think of a reason why not.
What am I missing?

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list