Post

bbbbb bbbbb
bbbbb bbbbb@brnbne·
@python_tip @irdb [0,3] ? Shouldn't the call to .pop() turn lst into [0,1], then assign lst[0,1+2], so that lst=[0,1,2]. (I'm tweeting this prior to my actual testing, to see if I was right)
English
1
0
2
0
:= walrus 🇸🇪
:= walrus 🇸🇪@goete_walrus·
@python_tip @irdb I would say [0, 1, 4]. Because Last [-1] and Pop (last value is cut) are added together and assigned to Last [-1]
English
0
0
0
0
Paylaş