Untitled
unknown
python
2 years ago
417 B
14
Indexable
"""
ID: heidara1
LANG: PYTHON3
TASK: cowsignal
"""
with open("./cowsignal.in", "r") as inp:
# inp.readline().strip()
# int(inp.readline().strip())
m, n, k = map(int, inp.readline().strip().split())
output = ""
for _ in range(m):
line = inp.readline().strip()
for ch in line:
output += ch * k
output += "\n"
print(output, file=open("./cowsignal.out", "w"))Editor is loading...
Leave a Comment