結果 : write a program to print following pattern in python