結果 : python pattern using nested loop