結果 : write a program to create the following pattern in python