单选题

下面哪个代码可以绘制一个直径为200的填充为红色,轮廓为蓝边的圆形?( )

A.
import turtle\nturtle.pencolor('blue')\nturtle.fillcolor('red')\nturtle.begin_fill()\nturtle.circle(200)\nturtle.end_fill()


B.
import turtle\nturtle.pencolor('blue')\nturtle.fillcolor('red')\nturtle.begin_fill()\nturtle.circle(100, 360)\nturtle.end_fill()


C.
import turtle\nturtle.color('blue')\nturtle.dot(200)


D.

import turtle

turtle.pencolor('blue')

turtle.fillcolor('red')

turtle.dot(100)

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部