def f():
def separator(txt):
txt = txt.center(40, "-")
return txt
print(separator("Start"))
print("This is the function 'f'")
print(separator("Stop"))
f()
-----------------Start------------------
This is the function 'f'
------------------Stop------------------