Numbers in a list

PAnttila shared this question 1 year ago

Is it possible to know, if two or more exact numbers are included in a list?

I can find one number asking for example a E list and it says true or false.

And other problem:

I would like to know if some numbers are not included in a list.

I can't do it with the negation command.

Thanks for your help,


Comments (1)


Intersection[A, B] gives a new list with the common elements of Lists A and B.

Len(Intersection[A, B]) will tell you, how much common elements you have in both lists.

© 2020 International GeoGebra Institute