for-loop, while-loop, , , . .
list = [[1, 2, 5], [2, 3, 7], ['', 'stack', 'overflow']]
i = 0
j = 0
while i<3:
j = 0
while j<3:
print list[i][j]
if list[i][j] == '':
print "Has no element at", i, ",", j
break
else:
print "has elements"
j += 1
i += 1
print "Successfully checked"