Posts by Lean Marqs • 51 points
1 post
-
5
votes1
answer1269
viewsQ: How the Python 'in' operator works
Could someone explain me the logic of python’s 'in' operator? I did some tests on Idle and still can’t understand how it works. >>> (2 or 10) in range(1,6) True >>> (10 or 2) in…
pythonasked Lean Marqs 51