But when I make changes to remaining_list why does it also get changed in original_list ?
because u change object, and both original and remaining refer to one object ticket
google "python deep copy", you'll know
Обсуждают сегодня