I have a nested list and I want to check if an item has a value or not.
Not really sure how to describe it, so basically, how do I get this to work?
list = [ [item1, a, b], [item2, a, b], [item3, a] ]
if list[2][2] #is empty (has no value):
print("There is no value at list[2][2]!")
else:
print("There is a value at list[2][2]")