Write a Python program to accept a positive integer n from the user and then print the following pattern using nested loops. For example, if n = 4, the output should be:
1
2 3
4 5 6
7 8 9 10
Answer:
Answer by student
Detailed answer by teachoo
The rest of the post is locked. Join Teachoo Black to see the full post.