How to assign a default value?
r=int(input('Number of rows?: '))
c=int(input('Number of Columns?: '))
w=int(input('Width of a column'))
h=int(input('Height of a row'))
row= (('+')+ w*('-')+('+'))* (c)
width= (('-') * w)*c
col=(('+')+ w*('-')+('+'))
height=(('|')+ w * (' ')+ ('|'))* c
c=square brackets with zero in it
for i in range(r):
print(row)
print(height)
c.append(col)
print(c* square brackets having zero)
But it's not working...[The question is displayed on the uploaded below image ] https://i.sstatic.net/JLQ8i.jpg