Conceptually, I want to do:
arr[20:] = 0
where arr is a list. How can I do this?
arr
list
arr.fill(0)
numpy.ndarray.fill() will fill ndarray with scalar value