a program that prints the following pattern using for loop
Answers
Answered by
0
Answer:
please mark me as brilliant
Answered by
0
There is a typical structure to print any pattern, i.e., the number of rows and columns. We need to use two loops to print any pattern, i.e., use nested loops. The outer loop tells us the number of rows, and the inner loop tells us the column needed to print the pattern. Accept the number of rows from a user using the input() function to decide the size of a pattern.
Similar questions
Math,
17 hours ago
Math,
17 hours ago
Computer Science,
1 day ago
Hindi,
8 months ago
Economy,
8 months ago