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
  • 55,782
  • 14
  • 81
  • 108
mooder
  • 341
  • 2
  • 8

0 Answers0