Computer Science, asked by sudheern857, 9 months ago

Decode the logic and print the pattern in python

Answers

Answered by BabyBold07
13

Explanation:

The algorithm to print the pattern using for loop in Python:

Accept the number of rows from user using input() function to decide the size of a pattern.

Iterate the number of rows using outer for loop and range() function.

Next, the inner loop or nested for loop to handle the number of columns.

Similar questions