結果 : number pattern using nested for loop in python