How do you use “is in list” with a list of list?

Hello,
I created a list of list associating a number with an object.
I want to check that there are no duplicate numbers with the "is in list?" Block.
Can you explain to me how to do it.
Thank you!

App inventor|690x311

Sorry, I didn't see that. You won't have to use a Dictionary for that, as I stated in my above post...
Here's how I would do it (this is pretty Java-esque):

Another approach is like this

2 Likes

Thank you very much, I try that.

1 Like

I'd recommend using @dora_paz's code, since mine is pretty tacky and ineffective.

1 Like

Thanks dora_paz, it works perfectly.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.