I am trying to create a copy of a list inputted into a function, then reassign one of the copied list\'s values, then return the new list.
w is returned correctly as