I am new to python and can't figure out why adding to a list with the + sign creates a new list with a different id but using .append adds elements to a list at the original id.
The list and its id:
>>> list = [1,2,3]
>>> id(list)
140619372689160
Adding to the list using + makes a new list:
>>> list + [4,5,7]
[1, 2, 3, 4, 5, 7]
Print list again does not include addition:
>>> print(list)
[1, 2, 3]
The address of the list is the same:
>>> id(list)
140619372689160
Why does adding to the list create a new list and not add to the list at that address?