I am working on a python project that involves setting a screen where the turtle can move. This is what the code looks like:
import turtle
window = turtle.screen()
window.title("My game")
window.bgcolor("black")
window.setup(800,800)
window.tracer(0)`
In the last line I have no clue what the .tracer(0)
command is doing, and what it means. I would appreciate some help.
I ran the code including and excluding the line window.tracer(0)
. I didn't see any difference.