运行下列python蟒蛇的绘制代码,回答问题。import turtleturtle.setup(650, 350, 200, 200)turtle.penup()turtle.fd(-250)turtle.pendown()turtle.pensize(25)turtle.colormode(255)turtle.pencolor(106,106,106)turtle.seth(-40)for i in range(4):turtle.circle(40, 80)turtle.circle(-40, 80)turtle.circle(40, 80/2)turtle.fd(40)turtle.circle(16, 180)turtle.fd(40 * 2/3)turtle.done()(1)这是一条什么颜色的蟒蛇?(2)这条蟒蛇的身子有4节,如果想多1节,应该修改第几行代码呢?(3)如果想要蟒蛇更粗,应该修改第几行代码呢?
举一反三
- 如果需要引用turtle的下列方法:setup, penup,fd,pendown下面哪个引用方式是不可行的? A: import turtle B: from turtle import * C: import turtle as t D: from turtle import setup, penup,fd, pendown
- 如果要从turtle库中导入circle( )函数,下列语句中不可使用的是? A: from circle <br/>import turtle B: from turtle import<br/>circle C: import turtle D: from turtle import<br/>*
- 使用turtle库的circle()函数,哪个选项的引用方式是错误的( ) A: from turtle import * B: from turtle import circle C: import turtle as t D: import turtle from circle
- 设置turtle画笔向左前方移动的可能函数包括() A: turtle.left() B: turtle,prtle.fd() C: turtle.circle(),turtle.penup() D: turtle.left(),turtle.fd()
- 以下代码中,那个引用turtle库的代码仅能初始化turtle对象,却不能设置画布或绘制其它图形: A: from turtle import * B: import turtle C: import turtle as tt D: from turtle import Turtle()