Name

.remove()

Examples
inventory = ["lamp", "skeleton key", "mystic orb"]
print(inventory) # Prints ["lamp", "skeleton key", "mystic orb"]
inventory.remove("skeleton key")
print(inventory) # Prints ["lamp", "mystic orb"]
Description
Syntax
a.remove(i)
Parameters
a
i
Related .insert()
.append()
.reverse()
.index()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License