結果 : nested for loop in python to print pattern