Unicode underline issue when executing python file

I have the solution, proof of work

follow the below code,

from prompt_toolkit import print_formatted_text, HTML
print_formatted_text('Do you want to flip another coin? ',HTML('<u>y</u>es'),'or',HTML('<u>n</u>o'))