Python
b = int(input())
a = int(input())
simvol = input()
print(simvol * a)
for i in range(b - 2):
print(simvol, ' ' * (a - 2), simvol, sep='')
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python
b = int(input())
a = int(input())
simvol = input()
print(simvol * a)
for i in range(b - 2):
print(simvol, ' ' * (a - 2), simvol, sep='')
print(simvol * a)