A good IDE will give you a hint, like so:

If you recognize the dark grey color of lst1
, move your mouse over it and it will give you a hint. Here, the problem is that the local variable is not used, as explained by @Yevhen Kuzmovych.
+=
can have a different implementation than +
. That's the case for lists: +=
modifies the list inplace whereas +
gives you a new list and using the same name on the left side makes that not so obvious.
It also says that you have a naming issue, called shadowing. Did you expect lst1
from the outer scope to update, because it has the same name? If you thought that, you need to read about scope. If you know another programming language, you also want to understand the difference between pass by value, pass by reference and pass by assignment (Python).