WAP to print the pattern in python
1
2 2
3 3 3
Answers
Answered by
10
Answer:
I have created multiple programs that print different styles of number patterns. Let see them one by one.
Numbers Pattern 1: using a for loop and range function
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Note: In this pattern, we will display a single number on the first row, the next two numbers of the second row, And the next three numbers on the third row and so on. The count of numbers on each row is equal to the current row number.
Explanation:
Similar questions