Print Pattern Using While Loop In Python 3