InterviewBit Problems   Nested List : Unsolved

About the Nested List : Unsolved category (1)
Output is right , why it isnt running here (2)
How to append a new list to an already existing nested list? (3)
I do get the solution but still it says that the code is wrong and doesn't give the desired output (3)