text: 
  """
  8. Write a Python program to display the first and last colors from the following list.
          color_list = ["Red","Green","White" ,"Black"]
      Tools: list slicing,indexing
  """
  color_list = ["Red", "Green", "White", "Black"]
  
  index = color_list.index("Red")
  print("The index of Red is ", index)
  
  index = color_list.index("Black")
  print("The index of Black is", index)