結果 : write a python program to print the pattern for a number input by the user