将列表 colors=["红色","蓝色","紫色"] 中的 "蓝色" 改为 "紫色",应使用()
colors [0]="紫色"
colors [1]="紫色"
colors [2]="紫色"
colors.append ("紫色")