0
363views
Write a python program to print star in a Rectangular pattern
1 Answer
0
3views

Explanation:-

  • To print the rectangle take input of no of rows and columns from the user and store the values in the variables r and c respectively.
  • Initialize 2 for loops to iterate over rows and columns respectively.
  • To print rectangle we have to put up a if condition to …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.