結果 : definition of nested loop in python