append () and extend () in Python