I am getting error in my code with try exception
===

try:
    for v in d.values():
        for item in v[1:]:
            if item != v[0]:
except ValueError:
    raise ValueError('this is inconsistent')

I am getting the following output-
   
    except ValueError:
   ^
IndentationError: expected an indented block