0

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
khelwood
  • 52,115
  • 13
  • 74
  • 94
mooder
  • 309
  • 1
  • 7

0 Answers0