Rocco Soucie559 Points
Python "Pop Quiz" doesn't accept my answer to my problem.
I am on the "Pop" quiz, and I have done what the program asked, but it keeps telling me that I need to use ".insert" and ".pop", but I did. I have tested it in my workspace, and it works just as it's supposed to. I do not know what it wants from me. Please help!
messy_list = ["a", 2, 3, 1, False, [1, 2, 3]] messy_list.insert( 0, (messy_list.pop(3))) # Your code goes below here
Dave StSomeWhere19,719 Points
Yes, your code does work in the REPL which I think is just a little more forgiving than the challenge checker.
Removing extra parenthesis and the space before the zero does get accepted