結果 : python wait until previous function to finish