Python draws graphs with turtle module

Learn to use the module turtle drawing function, mainly remember several parameters
import turtle #Import turtle drawing module
turtle.showturtle() #Call out the turtle drawing
board The
brush is raised
turtle.goto(200,0) #The coordinates are moved to the position of x=200, y=0
turtle.pendown() #The brush is put down, you can start to draw the pattern
turtle.circle(100) #Draw a diameter of 100 pixels the circle

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325328961&siteId=291194637