EY interview question

Append vs extend in python lists