Sqaure Pattern Printing - : Using For Loop

PHOTO EMBED

Sun Nov 06 2022 13:54:06 GMT+0000 (Coordinated Universal Time)

Saved by @codewithakash

m_row = int(input()) 
n_row = int(input())  

for i in range(m_row):
    for j in range(n_row):
        print("+", end = " ")
    print()
content_copyCOPY

Write a program to print a rectangle pattern of M rows and N columns using the plus character (+). Note: There is a space after each plus + characte. Note: Use for loop.