# define your list my_list = [1, 2, 3] # insert 4 at index 1 my_list.insert(1, 4) # print the result print(my_list)