以下哪段Python turtle代码执行后会生成黄色正六边形图形?

ia198716 单选题 共 个子题

待匹配的代码执行效果为黄色正六边形:黄色正六边形图形

A
import turtle
turtle.pensize(5)
turtle.begin_fill()
turtle.color('red')
turtle.fillcolor('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()
turtle.hideturtle()
B
import turtle
turtle.pensize(5)
turtle.begin_fill()
turtle.color('red')
turtle.fillcolor('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()
turtle.hideturtle()
C
import turtle
turtle.pensize(5)
turtle.fillcolor('red')
turtle.begin_fill()
turtle.color('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()
turtle.hideturtle()
D
import turtle
turtle.pensize(5)
turtle.begin_fill()
turtle.color('red','yellow')
turtle.circle(50,steps=6)
turtle.end_fill()
turtle.hideturtle()
正在加载题目数据…
已答 /
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析
讨论
发布
登录后参与讨论 立即登录
发布讨论需先绑定并验证手机号 去绑定手机号
加载中…
我
我
回复 @
回复 @
发送
还没有人讨论,来发表第一条吧