turtle.getscreen()
Return the TurtleScreen
object the turtle is drawing on. TurtleScreen methods can then be called for that object.
>>> ts = turtle.getscreen() >>> ts <turtle._Screen object at 0x...> >>> ts.bgcolor("pink")
turtle.getscreen()
Return the TurtleScreen
object the turtle is drawing on. TurtleScreen methods can then be called for that object.
>>> ts = turtle.getscreen() >>> ts <turtle._Screen object at 0x...> >>> ts.bgcolor("pink")
Please login to continue.