Run Program ❯
Python Home
❯
Run Code
Change Orientation
# Ordered list of colors colors = ["red", "green", "blue", "yellow"] # Display the list print("Original List:", colors) # Add a new color colors.append("purple") print("After Adding a Color:", colors)