Write a Python program to remove the first item from a specified list.

Write a Python program to remove the first item from a specified list.

1
2
3
4
5
6
color = ["Red", "Black", "Green", "White", "Orange"]
print("Original list elements:")
print(color)
del color[0]
print("After removing the first color:")
print(color)

Final output

Leave a Comment