Trying to make a program that always finds the two even from a list in a list (at least from the top level list) . And this is what I have so far.
List_Test = [[2]]
if 2 in List_Test:
print("Found!")
elif 2 in List_Test[0][0]:
print("Found in an inner list!")
elif 2 not in List_Test:
print("Not Found.")
I keep coming up with a
TypeError of : argument of type 'int' is not iterable
what am I doing wrong?