結果 : how to loop an action in python