結果 : define finite loop with example