I am trying to test a boolean AND condition like below:
def test(a,b):
if(a=='cust' & b=='id'):
print 0
else:
print 1
test('cust','id')
I get:
unsupported operand type(s) for &: 'str' and 'str'
I am trying to test a boolean AND condition like below:
def test(a,b):
if(a=='cust' & b=='id'):
print 0
else:
print 1
test('cust','id')
I get:
unsupported operand type(s) for &: 'str' and 'str'