Edit:
"""I need a count of the word given by key(s) in multiple lists at the given index. So what I need is
>>> count(["a", "b", "c"], ["c", "b", "a"])
{"a": [1,0,1], "b": [0,2,0], "c": [1,0,1]}":
"""
I hope this will be right:
def count (*args):
l = len(args[0])
end = {}
for lst in args:
y = 0
for x in lst:
end.setdefault(x, l*[0])
end[x][y] += 1
y += 1
return end
If you need a way to manipulate genome material from RNA/DNA you can search for libraries on pypi.python.org. There are plenty good ones.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…