Changes

From Biolecture.org

Minsu Kim/python/Rosalind /problem6

55 bytes added, 20:54, 12 December 2017
no edit summary
<p><img alt="" src="/ckfinder/userfiles/images/bandicam%202017-12-12%2020-51-08-760.jpg" style="height:289px; width:1151px" /></p>
<prep>f = open(&#39;rosalind_ba1g.txt&#39;, &#39;r&#39;) # 열고<br />lines = f.readlines()<br />seq_1 = lines[0]<br />seq_2 = lines[1]<br />f.close</p>
<p>count = 0<br />for i in range(len(seq_1)):<br />&nbsp; &nbsp; if(seq_1[i]!=seq_2[i]):<br />&nbsp; &nbsp; &nbsp; &nbsp; count += 1<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />print(count)</prep>
Anonymous user

Navigation menu