Python Identity Operators September 14, 2021 Python Identity Operators.OperatorsDescriptionExampleIsReturns True If Both SameA Is BIs NotReturn True If Both Are Not SameA Is Not BEx.X = 22Y = 25print(X is Y)print(X == Y)print(X is not Y)print(X != Y)OUTPUTFalse False True True Share Get link Facebook X Pinterest Email Other Apps Labels Python Oparators Share Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment