I’ve had some trouble understanding the code and solution to this practice question. This is from the “Analyze Data with Python” class. The question is: “What function prints Car from the value of argument passed to it?”
Examine the one declared variable in the above code, item_name.
The operative words are, “from the value of argument passed to it.”
Now look closely at the function call that actually polls the one declared variable.
The function has a rather deceptive parameter, employee_name but if we understand parameters we can see past this. The parameter could be x or chekov for all that really matters.
Bottom line, the only function that meets the requirements is this one. Study this lesson and don’t leave until everything is clear.