How do I increase the size of the text that is displayed in the console


I want to make my font size to change just for one line of code like print("Hello World!")‘s output Is bigger. Because I am trying to make a little console game, I want the title to be big. I am on Windows 10. My code



print() has no concept of "font" or "font size". This is a setting in the terminal window where you run the command. So one solution is to set the font size using the settings of your terminal window.

Rather than making the title big, you can bold it or make it different colors using ANSI codes. See How do I print colored text to the terminal? for details on how to do this.

Answered By – Code-Apprentice

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published