Print Pattern In Python Using While Loop