i tried to print this problem
input
1
3
.
output enter image description here
0
def repeat(c, n)
print(c * n)
def line():
print('+---+')
def box(row, col):
while row > 0:
line()
print('| |')
row = row -1
line()
n = int(input())
m = int(input())
box(n,m)
i want to make 'column' like row code i made
Aucun commentaire:
Enregistrer un commentaire