I am getting error in my code with try exception
<pre><code>try:
    for v in d.values():
        for item in v[1:]:
            if item != v[0]:
except ValueError:
    raise ValueError('this is inconsistent')
</code></pre>

<p>I am getting the following output-</p>

<pre><code>except ValueError:
</code></pre>

<p>^
IndentationError: expected an indented block</p>
