Run Program ❯
Python Home
❯
Run Code
Change Orientation
# Original list colors = ["red", "blue", "green"] # Modify the second element (index 1) colors[1] = "yellow" # Display the modified list print("Updated Colors List:", colors)