python member operator 200310

Member operator

A member for determining whether a container

Operators description Examples
in If you find the value in the specified sequence returns True, otherwise False 3 in (1, 2, 3) return True
not in If the value is not found in the specified sequence returns True, otherwise False 3 not in (1, 2, 3) return False
Published 77 original articles · won praise 1 · views 1222

Guess you like

Origin blog.csdn.net/whalecode/article/details/104780388