Skip to content
Advertisement

In the turtle module, how to find the maximum values of coordinates?

JavaScript

Question: How could I know the maximum values of coordinates of my screen? So I can have a better idea on how to set the values of ranX and ranY?

Thanks.

Advertisement

Answer

I found out this is what I need: t.window_width() and t.window_height().

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement