Use in to check Membership

2019-06-18 02:17栏目:技术创新
TAG:

permissions = 'rw'
print 'w' in permissions

print 'x' in permissions

users = ['mlh', 'foo', 'bar']

print 'foo' in users

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:Use in to check Membership