shellnotes/util/listnotes/display.py
2021-02-16 15:37:04 +02:00

11 lines
No EOL
256 B
Python

def underlined(text, symbol = '-'):
print()
print(text)
print(symbol * len(text))
def bordered(text, symbol = '*'):
print()
print(symbol * (len(text) + 4))
print(symbol, text, symbol)
print(symbol * (len(text) + 4))
print()