Ok so I am currently working on the lesson about Lists and Functions, and am on the exercise about using an element from a list in a function. The code is simple and I understand most of it, the only part I can’t explain is the correlation of the arguments of the function.
The same function in the exercise is set to have two different arguments, once as it is defined and again when the list is created and set as the function’s argument.
HOW is the first argument (which is being asked to return a value within the function) is able to call on that particular index from the list, which is later set as an argument.
All help is greatly appreciated in advance.