Pattern Printing In Python Using While Loop