能改变画笔颜色的命令是?( )
(A)turtle.colormode()
(B) turtle.pencolor()
(C) turtle.setup()
(D) turtle.pu()
参考答案
继续答题:下一题
更多python基础知识试题
- 1若a=10,b=20,那么(a and b)结果为20
- 2下面代码的输出结果是()def hello_world(): print(ST,end="*")def three_hellos(): for i in range(3): hello_world()three_hellos()
- 3给出如下代码,以下选项中描述错误的是( )fname = input("请输入要打开的文件: ")fi = open(fname, "r")for line in fi.readlines(): print(line)fi.close()
- 4通过insert方法可以在指定的索引位置插入元素
- 5以下不合法的表达式是