first='4x2'
second='9x'
self.first = [i + ' ' for i in first]
self.second = [i + ' ' for i in second]
self.poly = list(chain(self.first, self.second))
if self.poly[1].lower() is 'x' and self.poly[4].lower() is 'x':
>> Fails here
but if i have an array like:
array = ['x']
if array[0] is 'x':
it passes?