Hi All,<br><br>Is there any way to check if an item in specific location in a multiple dimension nested exist? For example something like:<br><br>if M_list[line][row][d] exist:<br> do_something_0<br>else:<br> do_something_1
<br><br>One way is to check the length of each dimension. Does any body know a simpler way? is there any way to check if "IndexError: list index out of range" happened or going to happen and stop program from terminating?
<br><br>Thanks <br>Arash<br>