AI题库 · Python编程一级题库
题目分享 #3738
分析下列程序,说法错误的是?( )
import turtle
turtle.color('blue')
turtle.fillcolor('yellow')
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()
turtle.forward(100)
turtle.color('red', 'aqua')
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()
A
turtle.color('blue')表示的含义为:设置轮廓和填充颜色均为"blue"
B
turtle.fllcolor('yellow')表示的含义为:设置填充颜色为"yellow"
C
程序运行结果为:绘制两个圆,左边圆填充颜色为"yellow",右边圆的颜色为"aqua"
D
最终绘制两个圆的轮廓颜色均为"blue"
AI题库 · 编程考级与信奥赛真题库
查看答案 →
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。