单选题

以下程序段执行后绘制出的图形是?( )

import turtle as t
c=['red','yellow','blue','orange','green','pink']
t.left(180)
for i in range(6):
   t.fillcolor(c[i])
   t.begin_fill()
   for j in range(3):
       t.forward(200)
       t.left(120)
   t.end_fill()
   t.left(120)
t.hideturtle()
A

B

C

D

赣ICP备20007335号-2