Daftar Python ditambahkan
# Let's create a list with a few sample colors
colors = ["Red", "Blue", "Orange", "Pink"]
print(colors) # Expected output - ['Red', 'Blue', 'Orange', 'Pink']
# Now let's add "Purple" to our list
colors.append("Purple")
print(colors)# Expected output - ['Red', 'Blue', 'Orange', 'Pink', 'Purple']
David Cao