For this Question: Give integer values M and N. Using the character ‘*’ draw a rectangle of height M and breadth N.The input contains two integers M and N.

Constraints:-
3 <= M, N <= 20Print the rectangle as shown in the exampleSample Input:-
3 3

Sample Output:-
***
* *
***

Sample Input:-
5 3

Sample Output:-
***
* *
* *
* *
***, I have written this Solution Code: li = list(map(int,input().strip().split()))
m=li[0]
n=li[1]
for i in range(0,n):
    if i==n-1:
        print("*",end="\n")
    else:
        print("*",end="")
for i in range(1,m-1):
    print("*",end="")
    for j in range(0,n-2):
        print(" ",end="")
    print("*",end="\n")
for i in range(0,n):
    print("*",end=""), In this Programming Language: Python, Now tell me if this Code is compilable or not?