Membership (in, not in) : Member : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Member »

 

Membership (in, not in)


print 'bc' i'abcd'
print 'n' in 'abcd'
print 'nm' not in 'abcd'
True



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo String
» Member