結果 : program to print following pattern in python