执行如下代码: importturtle turtle.circle(100) turtle.circle(50,180) turtle.circle(-50,180) turtle.penup() turtle.goto(0,140) turtle.pendown() turtle.circle(10) turtle.penup() turtle.goto(0,40) turtle.pendown() turtle.circle(10) turtle.done() 在PythonTurtleGraphics中,绘制的是()
A: 笛卡尔心形
B: 同心圆
C: 太极图
D: 同切圆
A: 笛卡尔心形
B: 同心圆
C: 太极图
D: 同切圆
举一反三
- 执行如下代码: importturtle turtle.circle(100) turtle.circle(50,180) turtle.circle(-50,180) turtle.penup() turtle.goto(0,140) turtle.pendown() turtle.circle(10) turtle.penup() turtle.goto(0,40) turtle.pendown() turtle.circle(10) turtle.done() 在PythonTurtleGraphics中,绘制的是() A: 笛卡尔心形 B: 同心圆 C: 太极图 D: 同切圆
- 使用turtle库的circle()函数,哪个选项的引用方式是错误的( ) A: from turtle import * B: from turtle import circle C: import turtle as t D: import turtle from circle
- 如果要从turtle库中导入circle( )函数,下列语句中不可使用的是? A: from circle <br/>import turtle B: from turtle import<br/>circle C: import turtle D: from turtle import<br/>*
- 如果需要引用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画笔向左前方移动的可能函数包括() A: turtle.left() B: turtle,prtle.fd() C: turtle.circle(),turtle.penup() D: turtle.left(),turtle.fd()