I'm trying to compare two strings e.g. if self.Ends == '101100' or '001101' .  self.Ends is in a class to compare two 3D co-ordinates. it may hold 000100.  There are eight if elif comparisons.
The program always returns  an 'a' even self.Ends holds another 01 string.
if self.Ends == '100101' or '101100':
     P_line.Line = 'a'   
elif self.Ends == '000100' or '100000':
     P_line.Line = 'b'
 
     
     
    