Question 9 • Introduction to Information Technology - EL3701
Use the array’s remove method to delete an element by its value: supplies.remove("calculator"). The append method adds an element, while pop typically removes an element by its index rather than by its value. The delete method shown is not the standard array method for removing a specified value.
AI-written and checked against the verified answer.