colors=["violet", "indigo", "blue", "green", "yellow", "orange", "red"]
del colors[4]
colors.remove("blue")
colors.pop(3)
print(colors)
Answers
Answered by
7
['violet', 'indigo', 'green', 'red']
Similar questions