結果 : how to use end loop in python