def print_rectangle(n, m) : for i in range(1, n+1) : for j in range(1, m+1) :

def print_rectangle(n, m) :
for i in range(1, n+1) :
for j in range(1, m+1) :
if (i == 1 or i == n or
j == 1 or j == m) :
print(“*”, end=””)
else :
print(” “, end=””)
print()

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount