Size of Turtle Canvas
[deleted]
How big is the canvas in the Python Turtle language?
Voters
SherHowley
i keep getting no attribute called screensize when I use this in repl!!
fabianbergstrom
@SherHowley screen.setup(width, height)
How big is the canvas in the Python Turtle language?
i keep getting no attribute called screensize when I use this in repl!!
@SherHowley screen.setup(width, height)
From what I remember it is configurable. So you can set it to whatever size you want.
https://docs.python.org/3.3/library/turtle.html?highlight=turtle#turtle.screensize
As for the default value, according to the docs,
turtle.screensize(canvwidth=None, canvheight=None, bg=None)
it looks like the canvas will have no size if you do not set it.
@mwilki7 thank you