ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 24 Sep 2020 22:51:35 +0200How to say x is not an element of a set and/or ask if it ishttps://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/ I would like to know if there is are keyword to verify if `x` is an element or not of the set `X` ?Thu, 24 Sep 2020 16:40:07 +0200https://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/Answer by FrédéricC for <p>I would like to know if there is are keyword to verify if <code>x</code> is an element or not of the set <code>X</code> ?</p>
https://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/?answer=53575#post-id-53575Ben, juste `x in X` ? et `x not in X` aussi.Thu, 24 Sep 2020 18:34:13 +0200https://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/?answer=53575#post-id-53575Comment by Cyrille for <p>Ben, juste <code>x in X</code> ? et <code>x not in X</code> aussi.</p>
https://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/?comment=53582#post-id-53582Ok I was expecting !in. This is the reason why I have not found it by myself ThanksThu, 24 Sep 2020 22:51:35 +0200https://ask.sagemath.org/question/53573/how-to-say-x-is-not-an-element-of-a-set-andor-ask-if-it-is/?comment=53582#post-id-53582