如何使Python Turtle中的圆变大
我一直在做一个包含头部的游戏。我不知道怎么把它弄大。代码如下:如何使Python Turtle中的圆变大,python,turtle-graphics,Python,Turtle Graphics,我一直在做一个包含头部的游戏。我不知道怎么把它弄大。代码如下: head = turtle.Turtle() head.speed(0) head.color('white') head.shape('circle') head.size(12) head.penup() 看 您似乎使用了错误的函数,而不是turtle.size(),请尝试使用turtle.shapesize()确保在第5行使用turtle.shapesize()如果使用turtle.size()如果您阅读文档,您将看到tur
head = turtle.Turtle()
head.speed(0)
head.color('white')
head.shape('circle')
head.size(12)
head.penup()
看
您似乎使用了错误的函数,而不是turtle.size(),请尝试使用turtle.shapesize()确保在第5行使用
turtle.shapesize()
如果使用turtle.size()
如果您阅读文档,您将看到turtle.shapesize()
import turtle
head = turtle.Turtle()
head.shape('circle')
head.shapesize(12)
turtle.done()