結果 : how to dynamically allocate memory in python