I'm using python turtle's write method to write text on the screen like this:
turtle.write("messi fan")
The size of the font is too small. How can I increase the size of font?
This question is related to
python
turtle-graphics
You can also use "bold" and "italic" instead of "normal" here. "Verdana" can be used for fontname..
But another question is this: How do you set the color of the text You write?
Answer: You use the turtle.color() method or turtle.fillcolor(), like this:
turtle.fillcolor("blue")
or just:
turtle.color("orange")
These calls must come before the turtle.write() command..
To add bold, italic and underline, just add the following to the font argument:
font=("Arial", 8, 'normal', 'bold', 'italic', 'underline')
Source: Stackoverflow.com