测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A43224. 要想绘制出如下图形,代码①、②处应填写为( )。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()

多选题 中等

题目描述

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

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()

选项(多选)

上一题 下一题