s, n = input(), int(input())
print(s*n)
for i in range(2, n):
print(s + " "*(n-2) + s)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
s, n = input(), int(input())
print(s*n)
for i in range(2, n):
print(s + " "*(n-2) + s)
print(s*n)