2020年12月电子学会青少年软件编程(Python一级)等级考试试卷
操作/编程
一级
2020
2022-10-28 20:28:16
56次
2020年12月电子学会青少年软件编程(Python一级)等级考试试卷
操作/编程
一级
2020
2022-10-28 20:28:16
56次
一、单选题
23.
下面图形最有可能是哪个选项的代码执行后的效果?( )

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.color('red')
turtle.begin_fill()
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() |
【知识点】 电子学会Python一级

