shellnotes/util/listnotes/d/display.py
2021-02-18 09:13:24 +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()