shellnotes/util/listnotes/d/display.py
2021-07-03 10:38:49 +03:00

11 lines
No EOL
316 B
Python

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