結果 : write a program to print the following pattern in python using for loop