You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
288 B
11 lines
288 B
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)
|