I have a list of 3 lists each containing a random integer between 1 and 9:
for x in lists:
for i in x:
if i= user_choice-1:
If I understand correctly, you want:
for x in lists: for i in range(len(x)): if x[i] == user_choice-1 and i < len(x)-1: if x[i+1] > x[i]: #Next value is bigger... else: #Next value is smaller...