腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(6642)
视频
沙龙
1
回答
减少海龟的大小取决于伦(字)
、
print("Welcome to
turtle
word writer")word = word.upper()thick = input("How thick would you like it(min:1 max:100): ") kurt =
turtle
.
Turtle
(
浏览 8
提问于2022-05-25
得票数 -1
1
回答
在Python中放置海龟绘制的字母
、
import
turtle
hi =
turtle
.
Turtle
() hi.widthhi.pendown()hi.forward(40) hi.penup()hi.pendown()
turtle
.mainloop
浏览 40
提问于2020-04-29
得票数 0
1
回答
乌龟图形没跑吗?
、
、
、
这是代码 penup() setposition(100,50)
浏览 3
提问于2022-08-26
得票数 -2
回答已采纳
1
回答
Python海龟图形填充问题
、
)
turtle
.forward(100)
turtle
.left(90)
turtle
.left(90)
turtle
.right(90)
turtle</em
浏览 0
提问于2018-11-15
得票数 0
1
回答
在Python中:如何重复创建和删除海龟窗口?
、
、
创建海龟屏幕:my_
turtle
_window =
turtle
.Screen () a2。创建一只乌龟:my_
turtle
_list.append (
turtle
.
Turtle
()) a3。画些海龟画:my_
turtle
_list [number_of_my_turtles - 1].pendown () a4。移除海龟屏幕:my_
turtle
_window.bye () b1。创建海龟屏幕:my_
turtle
_window =
turtl
浏览 23
提问于2020-12-15
得票数 0
1
回答
我怎样才能让我的乌龟比赛游戏连续运行?
代码: # Basic
Turtle
Game import
turtle
from
turtle
import
Turtle
turtle
.hideturtle() #Turtles 1
turtle
_1.speed(0)
turtle
浏览 6
提问于2019-12-18
得票数 0
2
回答
如何在Python中创建奥地利国旗?
、
下面是我的示例代码: t.fillcolor(c) for i in ranget.forward(ht) t.forward(wdth) t.end_fill() flag =
turtle
.
Turtle
()
turtle
浏览 3
提问于2017-12-07
得票数 0
1
回答
巨蟒海龟比赛
、
、
、
、
turtle
1 =
turtle
.
Turtle
()
turtle
1.shape("
turtle
")
turtle
2.color("green")
turtle
2.shape("
turt
浏览 20
提问于2021-01-15
得票数 1
1
回答
为什么克隆海龟的填充会影响原始海龟的填充?
、
import
turtle
importlib.reload(
turtle
) turtletop =
turtle
.
Turtle
()turtleleft =
turtle
.
Turtle
() turtles = [turtletop,turtleright,turtleleft] #all
浏览 6
提问于2022-10-31
得票数 0
回答已采纳
2
回答
如何用Python绘制简单的Argand图?
、
、
、
、
Argand图是笛卡尔X网格上复数的简单表示,如下所示:它只是一个单位圆$x^2 + y^2 = 1$;我们通常使用它作为复杂代数和分析中的教学和推理工具。这里的关键词很简单,而且是笛卡尔式的--极地地块背后有一个稍微不同的理由,所以做不到。
浏览 2
提问于2019-08-12
得票数 1
回答已采纳
2
回答
Python甲鱼透明填充?
、
、
"magenta", "pink", "blue", "green", "yellow", "orange", "red", "white"] my_
turtle
.fillcolor(colors[i]) my_
turtle
.circle(150) my_
tu
浏览 2
提问于2020-11-13
得票数 2
回答已采纳
1
回答
用循环绘制海龟模型
、
、
、
以下是我到目前为止所拥有的:wn =
turtle
.Screen() t.screen.bgcolor
浏览 2
提问于2019-12-04
得票数 0
回答已采纳
1
回答
Turtle
代码不工作,显示py-lint无成员错误
、
turtle
.pendown()
turtle
.penup() drawU(
turtle
.
Turtle
)
turtle
.penup()
turtle
.setposition(x=0, y=150
浏览 0
提问于2019-11-02
得票数 0
2
回答
从其他文件导入使用
Turtle
的函数时出错
、
在script.py中,我编写了一个函数,如下所示: import
turtle
turtle
.showturtle()
turtle
.penup()
turtle
.sety(y)
turtle
.pencol
浏览 70
提问于2021-10-19
得票数 2
1
回答
Python:如何使两个相等的部分列表只使用for循环中每个部分的第一部分?
、
、
我正在尝试创建3个同样小的同心形状(三角形),并使用for循环(使用海龟图形)使每一个都具有不同的颜色。到目前为止,我可以做形状,但我有极大的困难,填补他们不同的颜色。下面的代码是我到目前为止所做的。有人能帮忙解决着色问题吗?inner = ['red', 'dark blue', 'lime green'] begin_fill()
浏览 0
提问于2019-03-13
得票数 1
回答已采纳
1
回答
带Python海龟的圆角边矩形
、
from
turtle
import * penup() forward(5) setheading(
浏览 1
提问于2018-08-24
得票数 2
回答已采纳
2
回答
Python
Turtle
-矩形不适合相同大小的窗口
、
That's how the screen looks 代码片段: WIDTH, HEIGHT = 280, 207
turtle
.hideturtle()
turtle
.penup() # coords should be in upper left corner
turtle
_screen.se
浏览 17
提问于2020-06-11
得票数 0
回答已采纳
1
回答
Python
Turtle
绘制不正确
、
、
)
turtle
.pendown()
turtle
.left(90)
turtle
.left(90)
turtle
.left(90)
浏览 0
提问于2016-04-01
得票数 0
回答已采纳
2
回答
你能用蟒蛇把乌龟画成圆的中心吗?
、
我正在做一个tic tac toe游戏,当用户按下'o‘时,会打印一个圆圈,但圆圈总是在乌龟的左边。我想让乌龟在盒子的中心画一个圆圈。
浏览 4
提问于2021-10-29
得票数 0
1
回答
BASIC PYTHON -不同变量的相同结果
、
当我按照下面的命令给出变量时,该命令正在工作同样,当我按如下所示键入变量时import
turtle
black_
turtle
.forward(100)
浏览 1
提问于2021-06-13
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
【turtle代码欣赏】
Turtle曲线系列-心形线
Turtle绘图-小汽车
Python-Turtle 简易教程
python turtle 书写新年快乐
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券