题库 python等级考试 题目列表 下面图形最有可能是哪个选项的代码执行后的效果?(...
单选题

下面图形最有可能是哪个选项的代码执行后的效果?(

A.

import turtle
turtle.pensize(5)
turtle.begin_fill()
turtle.color('red')
turtle.fillcolor('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()

turtle.hideturtle()


B.

import turtle
turtle.pensize(5)
turtle.color('red')
turtle.begin_fill()
turtle.fillcolor('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()

turtle.hideturtle()


C.

import turtle

turtle.pensize(5)
turtle.fillcolor('red')
turtle.begin_fill()
turtle.color('yellow')
turtle.circle(50,steps=6)
turtle.end_fill()

turtle.hideturtle()


D.

import turtle
turtle.pensize(5)
turtle.begin_fill()
turtle.color('red','yellow')
turtle.circle(50,steps=6)
turtle.end_fill()

turtle.hideturtle()


题目信息
编程基础 常用标准库的操作 一级知识块 2020年12月 一般
-
正确率
0
评论
25
点击