• 2022-06-16
    绘制一个红色的五角星,下列程序哪个是正确的?
    A: from turtle import * fillcolor("red") begin_fill() while True: forward(300) right(144) if abs(pos()) < 1: break end_fill()
    B: from turtle import * fillcolor("red") begin_fill() while True: forward(200) right(155) if abs(pos()) < 1: break end_fill()
    C: ffrom turtle import * fillcolor("red") begin_fill() while True: forward(200) right(144) if pos() < 1: break end_fill()
    D: from turtle import * fillcolor("red") begin_fill() while True: forward(200) right(144) if abs(pos()) < 2: break end_fill()