Getting this error in problem 2 in assignment 1

Problem 2: FAIL
Incorrect solution
Error: ‘my_list’ should contain 3 items after all operations are performed