14.2k views
3 votes
If you wanted to add a skill called “charm” to a list of the player’s attributes, which line of code would you use?

Group of answer choices

attributes.add(“charm”)

add.attributes(“charm”)

attributes.append(“charm”)

attributes.pop(“charm”)

1 Answer

1 vote

Answer:

attributes.append("charm")

User Jrennie
by
8.6k points