|
|
@ -0,0 +1,11 @@ |
|
|
|
def rectangle(nbLignes: int,nbColonnes: int,motif: str): |
|
|
|
for ligne in range(nbLignes): |
|
|
|
for colonne in range(nbColonnes): |
|
|
|
print(motif, end="") |
|
|
|
print() |
|
|
|
|
|
|
|
nbLignes = int(input()) |
|
|
|
nbColonnes = int(input()) |
|
|
|
motif = input() |
|
|
|
|
|
|
|
rectangle(nbLignes, nbColonnes, motif) |