I want to bold the text in a string.
I used the code
print("\033[1mHello, World!\033[0m")
,
but it not work, and the output displays as:
?[1mHello, World!?[0m
.
The version of python in my computer is 3.9.13, and I use Windows 11.
I hope output bolded "Hello, World!"