Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 980 Bytes
#!/usr/bin/python
s='ATACCCATATACCCAGAATACCCAATACCCAGCTCTATACCCACTAAATACCCAATACCCACAAATACCCACCATACCCAATGAGATACCCATGACGGGATACCCATATACCCAGAAAATACCCAAATATACCCAATCTCGATACCCAATACCCAATGTGATACCCAGGTCTACATACCCAATACCCATAAGTATACCCACCACATACCCAATACCCAATACCCATACTCAAATACCCATATACCCAAGGTATTGAGATACCCAACATACCCACACATACCCACGCCATACCCAGATACCCAATACCCATCCCCACATACCCACGTATACCCAATACCCATCATACCCAGAACACATAATACCCACCAATACCCAGAATACCCACCGATACCCAGGGATACCCAACATACCCAATACCCAATACCCAGATATACCCAATACCCAATACCCATCGAATACCCACTCCTCTCATACCCATAGATACCCAACGAGGGGTTCGCCATACCCAGAATACCCAAGATACCCAGAGATACCCACGATACCCACGATACCCAATACCCACTCAGGTCGAAAACGTTTAGAGTGATACCCAAATACCCAGTATACCCAGATACCCACTGTATACCCATCGTAGTCTAGAATACCCAATACCCAGCGGATACCCAATACCCAATACCCAGGTCAGATACATACCCAATACCCATATACCCAATACCCAATACCCAGATACCCAGATACCCAAATACCCAATACCCAGATACCCAATACCCATATACCCAGATACCCATATACCCAATGGATACCCAATACCCATTATACCCAATACCCAATACCCAAGTTGGATACCCAAATACCCAA'
t='ATACCCAAT'
j=0
while True:
i=s.find(t,j)
if i<0:
break
print i+1,
j=i+1
You can’t perform that action at this time.