Print Underline Text Python June 15, 2022 by Rajeswari Palanivel print underline text python # print underline text in python print("\033[4m"+ "YourText" + "\033[0m") Source: stackoverflow.com