Pattern Printing Using While Loop In Python