結果 : how to define loop in python