結果 : write a python program to generate the following pattern using nested loop