(self,other)
| 46 | res.append(item) |
| 47 | return Container(res) |
| 48 | def outinside(self,other): # != Union != Intersection item in x and y but not in both |
| 49 | res = [] |
| 50 | for item in self.switch: |
| 51 | if item not in other: |
| 52 | res.append(item) |
| 53 | for item in other: |
| 54 | if item not in self.switch: |
| 55 | res.append(item) |
| 56 | return Container(res) |
| 57 | def __str__(self): #Print |
| 58 | return '<Container : %s \n<Length : %s' % (self.value,(len(self.switch))) |
| 59 |
no test coverage detected