Would it be possible to return a is b
as False
? Looks like index 0 and 1 are pointing to the same value reference.
>>> arr = ['a', 'a', 'c', 'd']
>>> a, b, c, d = arr
>>> a is b
True
>>> a == b
True
Would it be possible to return a is b
as False
? Looks like index 0 and 1 are pointing to the same value reference.
>>> arr = ['a', 'a', 'c', 'd']
>>> a, b, c, d = arr
>>> a is b
True
>>> a == b
True