📅  最后修改于: 2022-03-11 14:46:28.093000             🧑  作者: Mango
colors = ['Red', 'Blue', 'Green', 'Purple']
lower_colors = [ ]
for color in colors:
lower_colors.append(color.lower())
print(lower_colors)
#output - ['red', 'blue', 'green', 'purple']