I am getting for an erroc ZeroDivisionErrror: integer division or modulo by zero. What is wrong with my code
<pre><code>for i,j in enumerate(output.readlines()):
    if i%len(tag) == 0:
         [1]
         [2]
         etc
         if i%len(tag) == len(tag) - 1:
            outputfile.write(&lt;"something"&gt;)    
</code></pre>

<p>There is more code, but I have just been having a problem with the <code>ZeroDivisionError</code> since I edited the first 2 and last 2 lines of this code. I don't know why this error has occurred. </p>
