結果 : write a function in python pop arr