values = [2, 3, 5, 7, 11, 13] def shift(list): new_list = [] for i in list: new_list.insert(len(new_list)-1, i) return new_list