結果 : push_back equivalent in python