0
Why a == [1,2,[1,2]] is False ? or Why a == [1,2,[1,2]] is not True ?
a = [1,2] print(a) a.append(a) print(a) print(a == [1,2,[1,2]])
5 Answers
0
THANGARAJU SIBIRAJ a = [1,2] , how a.append = [1,2,[...]] ?
0
THANGARAJU SIBIRAJ [1,2,[...]] It seems like an infinity.
Why this infinity is arising and I am expecting an answer [1,2,[1,2]].