結果 : python not breaking out of while loop