# Given the following list, write a program that does the following: # Extract the first 3 elements of the list into a new list # Extract the characters b, c, and d into a new list # Extract the last 4 characters into a new list my_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] list_1 = my_list[:3] list_2 = my_list[1:4] list_3 = my_list[3:7] # can also write my_list[3:] print(list_1) print(list_2) print(list_3)