Python code:
def corrector(string, width, symbol):
halfWidth = width / 2
print((int(halfWidth) * symbol) + string + (int(halfWidth) * symbol))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python code:
def corrector(string, width, symbol):
halfWidth = width / 2
print((int(halfWidth) * symbol) + string + (int(halfWidth) * symbol))