pyschools Topic3 question 11
Pairwise comparision of DNA sequences is a popular technique used in Bioinformatics. It usually involves some scoring scheme to express the degree of similarity. Write a function that compares two DNA sequences based on the following scoring scheme: +1 for a match, +3 for each consecutive match and -1 for each mismatch.
我的代码:
https://github.com/moioi/python/blob/master/ex-6.py在本地调试输出是正常的,但是拷贝到pyschools的运行代码框里,就提示
Error: timeout. The server may be busy or check the code for possible endless loop.
是我的代码有问题吗?
在http://www.pyschools.com/quiz/view_topic/s3上面显示我的题目通过了,也许是网站的bug?