1、创建一个列表:colors,内部元素为:red,yellow,blue,white,black,green,gray,
colors = ['red','yellow','blue','white','black','green','gray']
print('第1题:',colors)
2、在black前面插入一个元素:orange
colors.insert(4,'orange')
print('第2题:',colors)
3、把
1、创建一个列表:colors,内部元素为:red,yellow,blue,white,black,green,gray,
colors = ['red','yellow','blue','white','black','green','gray']
print('第1题:',colors)
2、在black前面插入一个元素:orange
colors.insert(4,'orange')
print('第2题:',colors)
3、把