Ask coding questions

← Back to all posts
Size of Turtle Canvas
[deleted]

How big is the canvas in the Python Turtle language?

Answered by mwilki7 [earned 5 cycles]
View Answer
Voters
IshanMittal1
Comments
hotnewtop
mwilki7

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.

[deleted]

@mwilki7 thank you

SherHowley

i keep getting no attribute called screensize when I use this in repl!!

fabianbergstrom

@SherHowley screen.setup(width, height)