单选题

要想绘制出如下图形,代码①、②处应填写为( )。

t = turtle.Pen()

turtle.bgcolor("#000066")

def sunflower():

    t.color('red','yellow')

    t.begin_fill()

    for i in range(_①_):

        t.forward(200)

        t.left(170)

    t.end_fill()

    

_②_

turtle.done()

A

36

B

10

C

t.sunflower()

D

sunflower()

赣ICP备20007335号-2