Question

5. Write a python program that displays the following pattern on the console. [1, 2, 3, 4, 5, 6, 7, 8, 9, 101 [1, 2, 3, 4, 5, 6, 7, 8, 9) [1, 2, 3, 4, 5, 6, 7, 81 (1, 2, 3, 4, 5, 6, 7) [1, 2, 3, 4, 5, 61 [1, 2, 3, 4, 5) [1, 2, 3, 4] [1, 2, 3) [1, 2] [1]

Fig: 1