import turtle, Make the turtle module available in your program, t = turtle.Turtle(), Create a turtle object with name 't', forward(distance), Move the turtle forward by the specified distance., backward(distance), Move the turtle backward by the specified distance., right(angle), Turn the turtle clockwise by the specified angle (in degrees)., left(angle), Turn the turtle counter-clockwise by the specified angle (in degrees)., goto(x, y), Move the turtle to an absolute position., circle(radius, extent), Draw a circle (or arc) with a given radius., dot(size, color), Draw a circular dot., penup(), Lift the pen; movement will not draw a line., pendown(), Lower the pen; movement will draw a line., pensize(width), Set the line thickness., pencolor(color), Set the color of the pen (line color), fillcolor(color), Set the color used to fill shapes., begin_fill(), Remember the starting point for a filled shape., end_fill(), Close the shape and fill it with the current fill color., speed(speed), Set the animation speed.

szerző:

Ranglista

Vizuális stílus

Beállítások

Kapcsoló sablon

Automatikus mentés visszaállítása :?