I would like to use a variable as the end value when changing all items up to a specific point in the list to "123":
list[:variable] = "123&quo