print("hello")
The output should be the word "hello", but underlined.
print("hello")
The output should be the word "hello", but underlined.
You can do it by using escape characters.
print("\033[4mhello\033[0m")
string = 'Hello world'
emptystring = ''
for i in range(0, len(string)):
if string[i] == ' ':
emptystring = emptystring + string[i]
else:
emptystring= emptystring+string[i]+str('\u0332')
print(emptystring)
make sure you have python3 interpreter then run
x="the solution"
print("\033[4m" + x + "\033[0m")
Make sure you have Python 3.6+ Install quo using pip https://pypi.org/project/quo
from quo import echo
echo(f"Hello World!!!", underline=True)