Edit string on a list

Tell us what’s happening:
Doing an assignment in which I am to add beach names to a list. But I am having problems successfully adding the beach names.
On execution the array is empty

link to code on Git -

In code there’s function that’s adding couple entries into the list, but that function is not called. This means code within the function is not executed.

Keep also in mind, that assigning to a variable name new list doesn’t change the list that previously was using that variable name.

1 Like