+ 4
Why output 3 but no 2?
a = [1,2] b=a a.append(1) print(len(b))
4 Antworten
+ 6
so b is a = True
+ 6
Lol thanks bro
+ 5
Because of "b=a"...... "b" and "a" refer to the same list...print their id's to check.
+ 2
lol...didn't think to suggest using "is"....but yes...that correct.