Pattern Printing Using While Loop In Python 3