计算后代显性表型的期望 http://rosalind.info/problems/iev/ 1 2 3 4 5 6 7 import os with open('rosalind_iev.txt','r') as f: couplesNumb = f.readline().strip() [p1, p2, p3, p4, p5, p6] = couplesNumb.split() dominantNumb = (int(p1)+ int(p2)+ int(p3))*2 + int(p4)*1.5 + int(p5) print(dominantNumb) 计算蛋白对应的mRNA序列数量 http://rosalind.info/problems/mrna/ 1 2 3 4 5 6 7 8