SyntaxFix
Write A Post
Hire A Developer
Questions
In Python you may use the in operator. You can do stuff like this:
in
>>> "c" in "abc" True
Taking this further, you can check for complex structures, like tuples:
>>> (2, 4, 8) in ((1, 2, 3), (2, 4, 8)) True