Extended slice assignment size mismatch: ValueError: attempt to assign sequence of size 1 to extended slice of size 3 (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
l[::2]=[0] on a 5-item list. l[::2]=[0,0,0] works ([0,2,0,4,0]); l[1:3]=[9] shrinks to [1,9,4,5]; l[5:5]=[9] on a 3-item list appends.