does “+” in `mylist + newElement` make a new list?
# getting-started
f
does “+” in
mylist + newElement
make a new list?
👌 2
u
no it just overload the plus operator
1
3
k
It uses the existing overload of the plus operator on
Iterable
, which does return a new list.
2